lib-flex-book-com-rubenswieringa-drawing-LineStyle.ax (swf ) [ flash ] flex
Stores line-styles. @author Ruben Swieringa ruben.swieringa@gmail.com www.rubenswieringa.com www.rubenswieringa.com/blog @version 1.0.0 @see DrawingTool @see http://livedocs.adobe.com/flex/2/langref/flash/display/Graphics.html#lineStyle() * edit 1 Before modifying and/or redistributing this class, please contact Ruben Swieringa (ruben.swieringa@gmail.com). View code documentation at: http://www.rubenswieringa.com/code/as3/flex/DrawingTool/docs/ *
@private
@private
@private
@private
@private
@private
@private
@private
If true, the line this @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle instance is applied to will have a dashed line. @default false @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#dash @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#space
Line color. @default 0
A Boolean value that specifies whether to hint strokes to full pixels. @default false
@see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#dash @private
Constructor. @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#thickness @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#color @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#alpha @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#pixelHinting @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#scaleMode @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#caps @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#joints @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#miterLimit @see http://livedocs.adobe.com/flex/2/langref/flash/display/Graphics.html#lineStyle()
An integer that indicates the thickness of the line in points; valid values are 0 to 255.
A number that indicates the alpha value of the color of the line; valid values are 0 to 1.
A value from the LineScaleMode class that specifies which scale mode to use. @see http://livedocs.adobe.com/flex/2/langref/flash/display/LineScaleMode.html
A value from the CapsStyle class that specifies the type of caps at the end of lines. @see http://livedocs.adobe.com/flex/2/langref/flash/display/CapsStyle.html
A value from the JointStyle class that specifies the type of joint appearance used at angles. @see http://livedocs.adobe.com/flex/2/langref/flash/display/JointStyle.html
A number that indicates the limit at which a miter is cut off. Valid values range from 1 to 255.
Sets a Graphics instance its lineStyle equal to the values of the native supported properties (all of which can be set through this class its constructor). @param graphics A Graphics instance. @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#thickness @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#color @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#alpha @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#pixelHinting @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#scaleMode @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#caps @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#joints @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#miterLimit
The length of a dash in a dashed line. When this property is set, dashEnabled is automatically set to true. @default 2 @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#space @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#dashEnabled
The space between two dashes in a dashed line. If untouched, the value of the space property will be equal to that of the dash property. @default 2 @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#dash @see @ax-lib-flex-book-com-rubenswieringa-drawing-LineStyle#dashEnabled
(C) Æliens 18/6/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.