Tag Archives: x

Setting the origin X and Y coordinate for a linear gradient stroke in Flex Gumbo

The following example shows how you can set the origin X and Y coordinate for a linear gradient stroke in Flex Gumbo by setting the x and y properties on the LinearGradientStroke object.

Full code after the jump.

Continue reading Setting the origin X and Y coordinate for a linear gradient stroke in Flex Gumbo

Setting the origin X and Y coordinate for a radial gradient fill in Flex Gumbo

In a previous example, “Creating a radial gradient fill on a Rect object in Flex Gumbo”, we saw how you could create a radial gradient fill on a Flex Gumbo Rect object by setting the fill property to a RadialGradient object.

The following example shows how you can set the origin X and Y coordinate for a radial gradient fill in Flex Gumbo by setting the x and y properties on the RadialGradient object.

Full code after the jump.

Continue reading Setting the origin X and Y coordinate for a radial gradient fill in Flex Gumbo