Posts tagged as:

stroke

The following example shows how you can set the end caps on a Spark SolidColorStroke object by setting the caps property to one of the static constant values in the flash.display.CapsStyle class.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the miter limit on a Flex 4 Path stroke by setting the miterLimit property on a stroke object.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set an Line object’s stroke weight by setting the weight property on the SolidColorStroke object.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the scale mode on an Ellipse object’s stroke object by setting the scaleMode property to one of the static constants in the LineScaleMode class.

Full code after the jump.

[click to continue…]

{ 2 comments }

The following example shows how you can set the joint style on a Flex 4 SolidColorStroke object by setting the joints property to a static constant in the JointStyle class (flash.display.JointStyle).

Full code after the jump.

[click to continue…]

{ 1 comment }

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.

[click to continue…]

{ 0 comments }

The following example shows how you can set the angle of a LinearGradientStroke stroke on a Flex Gumbo Ellipse object by setting the rotation property on the LinearGradientStroke object.

Full code after the jump.

[click to continue…]

{ 0 comments }

The following example shows how you can set the miter limit on a Flex Gumbo stroke by setting the miterLimit property on a stroke object.

Full code after the jump.

[click to continue…]

{ 1 comment }

Setting the joint style on a stroke in Flex Gumbo

by Peter deHaan January 1, 2009

The following example shows how you can set the joint style on a Flex Gumbo LinearGradientStroke object by setting the joints property to a static constant in the JointStyle class (flash.display.JointStyle).
Full code after the jump.

Read the full article →

Creating a linear gradient stroke on a Rect object in Flex Gumbo

by Peter deHaan December 31, 2008

The following example shows how you can set a linear gradient stroke on a Flex Gumbo Rect object by setting the stroke property to a LinearGradientStroke object.
Full code after the jump.

Read the full article →

Setting the thickness of a stroke on an Ellipse in Flex Gumbo

by Peter deHaan November 28, 2008

The following example shows how you can set an Ellipse object’s stroke weight by setting the weight property on the SolidColorStroke object.
Full code after the jump.

Read the full article →

Adding a stroke around a ColumnSeries item in a Flex ColumnChart control

by Peter deHaan November 22, 2007

The following example shows how you can add a stroke around chart items in a Flex ColumnChart control.
Full code after the jump.

Read the full article →