Reset the draw options to their default values.


void Reset();
void Reset(Canvas inCanvas);
void Reset(DrawOptions inOptions);

[Visual Basic]

Sub Reset()
Sub Reset(inCanvas As Canvas)
Sub Reset(inOptions As DrawOptions)
Name Description
inCanvas The Canvas used to initialize some of the drawing options.
inOptions The DrawOptions used to initialize the drawing options.

Call one of the overrides of this method to reset the values stored in this DrawOptions object. When no parameter is specified the options will be reset to some default values. When a Canvas is specified, it will be used to initialize some options, such as the Pen size and colors. When another DrawOptions is specified as a parameter, it will be used as a template to initialize the options of this object.

See Also