TGdipUIPen Class
Encapsulation of a GDI+ pen
Syntax
Namespace: FlexCel.Draw
public class TGdipUIPen: TUIPen
Constructors
Name
Description
TGdipUIPen
Creates a new UIPen which encapsulates an existing GDI+ Pen. Note that if you are encapsulating a pen from Pens.Color class, you need to pass false in aNeedsDispose, since this class shouldn't dispose the pen when disposing the class.
Methods
Name
Description
Dispose
Override this method to dispose your own objects in your descending classes.
GetDashPattern
Converts the dashstyle.
GetStyle
Converts the dashstyle.
Properties
Name
Description
Color
Gets or sets the color of the pen.
DashStyle
Gets or sets the style of the pen.
Handle
Returns the encapsulated Pen object.
HeadArrow
Defines a start arrow for the lines.
LineCap
Gets or sets the line cap of the pen.
LineJoin
Gets or sets the line join for the pen.
MiterLimit
Gets or sets the miter limit for the pen.
TailArrow
Defines a start arrow for the lines.
Width
Gets or sets the width of the pen.