Home Download and Buy What's New Live Demos Contact Us
 
5.Gif
8.Pen
9.UV

Search this site
 

 

Object Reference
Pen Object

The Pen object enables setting the pen color and width for drawing operations. This object is obtained via the Pen property of the Canvas object.

Properties Methods
Color
Opacity
Width
No methods

Pen Properties

Color As Long (read/write)
Specifies a pen color, e.g. &HFF0000 for red. 0 (black) by default. Affects the color of a line, bar, circle, ellipse and arc.

See also: Chapter 5 - Drawing & Typing.

Opacity As Single (read/write)
Specifies pen opacity. A float value between 0 and 1 must be specified. 1 corresponds to full opacity, 0 to full transparency. This property affects the method DrawLineEx only.

This property was introduced in Version 2.1.

See also: Section 5.4 - Anti-aliased Drawing Routines.

Width As Long (read/write)
Specifies a pen width. Affects the border width of a line, bar, circle, ellipse and arc. 1 by default.

See also: Chapter 5 - Drawing & Typing.


Advanced Image Management Advanced
Image Management
for ASP and .NET