Frames 

 No Frames

Previous Element
LinearGradient

Next Element
LineStylePair


LineStyle

This defines the style for all line drawing operations.

Attributes

width The width of the line in pixels. The width of the line will be evenly distributed across both sides of the line. A value 0.01 will result in a hairline width regardless of scale. In practice, line widths are significant to approx 0.06 of a pixel.
TypeFloat
color The color specified as an RGB/RGBA tuple, a hex string or a color name. The first number of the tuple represents the red intensity, the second green, and the third blue. A minimum value of 0 for each color results in black and a max value of 255 for each color results in white. For RGBA the first three attributes are the same as above and the fourth is the degree of opacity of the color with 0 being totally transparent and 255 totally opaque. Alternatively the color can be specified as in SVG either in hexadecimal with a '#' leading character or by name using the color names defined in the SVG specification. Since these do not specify opacity, an additional opacity attribute can be defined.
Value Template rgb(Color, Color, Color)
Value Template rgba(Color, Color, Color, Color)
From Value0
To Value255
Value Template#ColorColorColor
From Value00
To Valueff
Value Range Any SVG color name supported in the SVG1.1 specification.
opacity Optional attribute specifying the opacity of the color with 0 being totally transparent and 1.0 totally opaque. This will override any opacity channel value specified as part of the color attribute.
From Value0.0
To Value1.0
Default Value1.0
dashArray Optional attribute specifying the length of the dash and space in all straight lines(curves can not be dashed and this attribute is ignored for all non-straight lines). At least two values must be specified. The first entry is the length if the dash and second is the length of the gap. If an odd number of intervals are specified then the dash array is appended to itself to give an even number of intervals. All dashed lines will be terminated in a dash which may cause the last dash to be longer than specified. This attribute should be used carefully as there is no native support for dashed lines in the SWF format and all dashed lines are decomposed into smaller solid and empty lines.
Value Template(Value, Value,...)
TypeFloat
index Specifies the index of the current entry in the table. Informational attribute produced on decompilation. Not used on input.
TypeInteger

Child Elements

None

Parent Elements

LineStylePair
LineStyles

Examples

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

Previous Element
LinearGradient

Next Element
LineStylePair