radial-gradients

Display SVG gradients using Flash?

I'm using AS3 (Flash) to read SVG files and display them. The problem is correctly displaying a linear/radial gradient. Following is an example of a simple linear gradient from Red to Blue, in SVG. <linearGradient id="GRADIENT_1" gradientUnits="userSpaceOnUse" x1="107.3938" y1="515.5684" x2="105.2488" y2="428.8614" gradientTransform="m...

CALayer and CGGradientRef anti-aliasing?

Hello all. I'm having an odd issue with CALayer drawing for the iPhone. I have a root layer which adds a bunch of sublayers representing "bubbles". The end result is supposed to look something like this: The problem is that I can't seem to get the layer to anti-alias (notice the jaggies on the bubbles). My code overwriting drawInC...

CSS3 Gradients to reproduce an 'inner glow' effect from Illustrator with border-radius applied

Hello all! First post on here so please be kind :) I am in the process of trying to get my head properly around CSS3 Gradients (specifically radial ones) and in doing so I think I've set myself a relatively tough challenge. In Adobe Illustrator I have created a 'button' style which can be seen here: http://bit.ly/aePPtV (jpg image). ...

WPF: RadialGradientBrush without gradient?

Hello, I want to draw some circles in another circle like this: Is there a way to tell a RadialGradientBrush not to use gradients but just fixed colors, so I can achieve this? Thanks for any hint! (I guess this could be easily done using a DrawingBrush, I'm just wondering whether this could also be done using a RadialGradientBrush) ...

Can I animate a radial gradient in iPhone?

I would like to animate a radial gradient to shrink and grow the inner radius, as if it were pulsing. Right now I'm rendering the gradient with CGGradient, but I'm not sure how to animate it. I've seen this topic http://stackoverflow.com/questions/1819311/can-you-animate-gradients-using-quartz-in-an-iphone Which explains how animate a...

WPF radial-gradients

Dear Board, I have tried the following code, but the last line causes an error *Error Argument '1': cannot convert from 'System.Windows.Media.RadialGradientBrush' to 'System.Drawing.Brush' * I have visual studio 2008 <CODE> /* using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using Syste...

Stack gradients in -webkit-gradient

Can I combine 3 gradients into one -webkit-gradient? I want to have an image that has a radial gradient for the "background" and "middle-ground" and a linear gradient for the "foreground". Is this possible? ...

Why scrolling with moz-radial-gradient is so slow?

Hi, I attached this style attribute to body tag: style="background: -moz-radial-gradient(center center , circle , rgb(223, 224, 228), rgb(189, 193, 200)) no-repeat fixed 0% 0% #fff;" And scrolling the page became very hard - it was lagging and scrolling slowly. Is it supposed to be so? Edit: Not only scrolling, all other jquery effe...