Click or drag to resize

Pen Constructor

X#
Construct a pen.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	uColor,
	uLineStyle,
	uWidth
) CLIPPER
Request Example View Source

Parameters

uColor (Optional)
Type: Usual
The pen's color. The default is black. (Refer to the Color:Init() method for details on specifying a color.)
uLineStyle (Optional)
Type: Usual
The pen's style, specified as one of the following constants:
uWidth (Optional)
Type: Usual
The pen's width, in canvas coordinates. The default is 1.
Remarks
ConstantDescription
LINECLEAR Invisible, which can be used to simplify the program logic. This is a shortcut to changing a point position without calling the MoveTo() and LineTo() functions (as in the code example under Pen class).
LINEDASHDOTAlternating dash/dot pattern.
LINEDASHDOTDOTA repeating sequence of a dash followed by two dots.
LINEDASHEDDashes.
LINEDOTTEDDots.
LINESOLIDA continuous line. This is the default.
See Also