smjg.libs.sdwf.gdiobject.Pen Class Reference

The smjg.libs.sdwf.gdiobject.Pen class represents a pen, used to draw lines, curves and geometric figures. More...

Inheritance diagram for smjg.libs.sdwf.gdiobject.Pen:

smjg.libs.sdwf.gdiobject.GDIObject

List of all members.

Public Member Functions

 this (RGBColour colour, int width=0, PS style=PS.SOLID)
 Creates a pen.
 this (PEN stockPen)
 Creates a Pen wrapper around the specified stock pen.
 this (HPEN h, bool autoDelete=false)
 Constructs a Pen wrapper around a pre-existing Windows pen object.


Detailed Description

The smjg.libs.sdwf.gdiobject.Pen class represents a pen, used to draw lines, curves and geometric figures.


Constructor & Destructor Documentation

smjg.libs.sdwf.gdiobject.Pen.this ( RGBColour  colour,
int  width = 0,
PS  style = PS.SOLID 
)

Creates a pen.

Parameters:
colour the colour of the pen.
width the width of the pen, in logical units. A value of zero specifies a hairline (single-pixel width) pen.
style the style of pen.
Since:
0.3 (previously this(RBGColour) and this(PS, int, RGBColour)).

smjg.libs.sdwf.gdiobject.Pen.this ( PEN  stockPen  ) 

Creates a Pen wrapper around the specified stock pen.

Parameters:
stockPen value identifying the stock pen to be obtained.

smjg.libs.sdwf.gdiobject.Pen.this ( HPEN  h,
bool  autoDelete = false 
)

Constructs a Pen wrapper around a pre-existing Windows pen object.

Parameters:
h handle of the pen to wrap.
autoDelete (since 0.5) whether the Windows handle should be automatically deleted when the SDWF object is garbage collected.


The documentation for this class was generated from the following file:
Generated on Sun Jan 11 21:54:13 2009 for Stewart's D Windows Framework by  doxygen 1.5.4