Creates a DALineStyle object that represents a (potentially) animated line style. The object defines the various line styles to use when drawing lines. These styles includes the shape of the end of a line, the shape of joints between intersecting lines, the width of the line, and whether the line is drawn with a continuous stroke or as a sequence of dashes.
Use DALineStyle objects with the Draw function in the DAPath2 class.
This class inherits from DABehavior.
Determines whether or not the line will be antialiased. If antialias is 0 (the default), there is no antialiasing. If it is 1, there is antialiasing.
linestyleObj.AntiAliasing(
antialias
)
Returns the DALineStyle object.
Determines the color of a DALineStyle object. The default color is Black.
linestyleObj.Color(
color
)
Returns the DALineStyle object.
Creates a DALineStyle object that is the result of applying the given DADashStyle object to the existing line style. By default, the dash style is solid.
linestyleObj.Dash(
ds
)
Returns the DALineStyle object.
Creates a detail DALineStyle object from an existing line style. A detail line style is not changed by image scaling operations. The detail line style is the default line style, and it has no width.
linestyleObj.Detail
Returns the DALineStyle object.
Creates a DALineStyle object that is the result of applying the given end style, es, to the existing line style. By default, the end style is flat.
linestyleObj.End(
es
)
Returns the DALineStyle object.
Creates a DALineStyle object that is the result of applying the given DAJoinStyle object to the existing line style. By default, the join style is beveled.
linestyleObj.join(
js
)
Returns the DALineStyle object.
Creates a DANumber object from an existing line style by setting the width of line to the given amount, expressed in points. If the width results in a line less than a single pixel, the line is always drawn as a detail line.
linestyleObj.WidthAnim(
width
)
Returns the DALineStyle object.
This overrides Detail.
Same as WidthAnim except that width is a non-animated number (a double).
linestyleObj.Width(
width
)
The following properties are defined in the DAStatics class and are most relevant to objects of type DALineStyle.
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.