Frames 

 No Frames

Previous Element
Segment

Next Element
Shape


SetStyle

Set the active styles for future vector drawing operations. Line styles, main fills and right fills can all be specified with an index to their respective style tables. Table entries begin at 1 and index 0 is used to specify an empty style. Styles remain active until set to another value or disabled with an index of zero.
Styles with a lower index have a lower display depth than those later in the table so those fills defined with an higher style index will obscure those with lower indices. All line styles will appear on top of all Fill styles defined in the same style table. In order to show a fill over a line, the fill must be defined in a later table or the shape redrawn so the overlapping boundary does not occur.

Attributes

line Optional index of line style in line style table to use for future drawing operations. An index of 0 means that no line style is applied.
TypeInteger
Default Value0
mainFill Optional attribute that sets the main fillstyle to the table entry specified by the index. All areas will be filled with the specified style until another drawing edge is encountered. An index of 0 means that no fill style is applied.
TypeInteger
Default Value0
rightFill Optional attribute that sets the right fillstyle to the table entry specified by the index. In general, this style should only be used when drawing operation separates two different fill regions. In this scenario, the main fill will specify the fill on the left on the line and the right fill will specify the fill to the right of the line.
TypeInteger
Default Value0

Child Elements

None

Parent Elements

Edges
ShapeTransform

Examples

Elliptical Arcs Example
Examples of Elliptical Arcs and Circular Arcs
Shape Fill Examples
Line Style Z-Ordering
Line Style and Scaling
Color Gradient Examples
Shape Origin Example
CArcs Example
ImageFill Examples
Shape Transform Examples
SVG Arc Example in RVML
Timeline Replace Examples
Circle Examples
Quadratic Curve Example
Dynamic MovieClip Clipping
Rectangle Example
Animate simple symbols on timeline
Color Specification Example
Timeline Color Transformations
Square to Circle Morph Example
Clipping and Text Clipping Example
Button Example
Button DragTarget Example
Button Sound Example
Example Of MovieClip classes
Example Of MovieClip classes and scripted animations
Defines simple symbol for export
MorphShape Example
Polygon Example
Simple Polyline Example

Previous Element
Segment

Next Element
Shape