DrawOptions constructor.
Syntax

[C#]

DrawOptions();
DrawOptions(bool inTransparency);
DrawOptions(Canvas inCanvas);
DrawOptions(Canvas inCanvas, bool inTransparency);
DrawOptions(Canvas inCanvas, ShapeDrawingType inShapeDrawingType);
DrawOptions(ShapeDrawingType inShapeDrawingType);

[Visual Basic]

Sub New()
Sub New(inTransparency As Boolean)
Sub New(inCanvas As Canvas)
Sub New(inCanvas As Canvas, inTransparency As Boolean)
Sub New(inCanvas As Canvas, inShapeDrawingType As ShapeDrawingType)
Sub New(inShapeDrawingType As ShapeDrawingType)
Params
Name Description
inTransparency Whether to preserve transparency when drawing.
inCanvas A Canvas used for initializing the drawing options.
inShapeDrawingType The shape drawing type.
Notes

When using the default constructor the drawing options will be initialized to default values. When passing in a canvas they will be initialized to the corresponding canvas properties, when applicable.

See Also

ShapeDrawingType

ShapeDrawingType

Example

None.