User Guide
886 ActionScript classes
rgb:Number - A hexadecimal color value of the line; for example, red is 0xFF0000, blue is
0x0000FF, and so on. If a value isn't indicated, Flash uses 0x000000 (black).
alpha:Number - An integer that indicates the alpha value of the line's color; valid values are 0
to 100. If a value isn't indicated, Flash uses 100 (solid). If the value is less than 0, Flash uses 0;
if the value is greater than 100, Flash uses 100.
pixelHinting:Boolean - Added in Flash Player 8. A Boolean value that specifies whether to
hint strokes to full pixels. This value affects both the position of anchors of a curve and the
line stroke size itself. If a value is not indicated, Flash Player does not use pixel hinting.
noScale:String - Added in Flash Player 8. A string that specifies how to scale a stroke. Valid
values are as follows:
■ "normal" Always scale the thickness (the default).
■ "none" Never scale the thickness.
■ "vertical" Do not scale thickness if object is scaled vertically only.
■ "horizontal" Do not scale thickness if object is scaled horizontally only.
capsStyle:String - Added in Flash Player 8. A string that specifies the type of caps at the
end of lines. Valid values are:
"round", "square", and "none". If a value is not indicated,
Flash uses round caps.
For example, the following illustrations show the different
capsStyle settings. For each
setting, the illustration shows a blue line with a thickness of 30 (for which the
capsStyle
applies), and a superimposed black line with a thickness of 1 (for which no
capsStyle
applies):
jointStyle:String - Added in Flash Player 8. A string that specifies the type of joint
appearance used at angles. Valid values are:
"round", "miter", and "bevel". If a value is not
indicated, Flash uses round joints.
For example, the following illustrations show the different
capsStyle settings. For each
setting, the illustration shows an angled blue line with a thickness of 30 (for which the
jointStyle applies), and a superimposed angled black line with a thickness of 1 (for which
no
jointStyle applies):