[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'FPCanvas' (#fcl)

# TFPCustomDrawPen

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TFPCustomDrawPen - base class for pen used for drawing figures

## Declaration

Source position: fpcanvas.pp line 332

`type TFPCustomDrawPen = class(TFPCustomPen)`
`protected`
`procedure DoDrawLine(); virtual; abstract;` |  | DoDrawLine - draw a line from first to second point
`procedure DoPolyline(); virtual; abstract;` |  | DoPolyline - draw a Polyline connecting points of the array in sequence, and closing the figure if Close is True
`procedure DoEllipse(); virtual; abstract;` |  | DoEllipse - draws an ellipse within the specified space
`procedure DoRectangle(); virtual; abstract;` |  | DoRectangle - draws a rectangle with the given coordinates
`end;`

## Inheritance

`TFPCustomDrawPen` |  | TFPCustomDrawPen - base class for pen used for drawing figures
`TFPCustomPen` |  | TFPCustomPen - FreePascal base class for Pens
`TFPCanvasHelper` |  | TFPCanvasHelper - FreePascal base class providing utilities for drawing and painting canvases
`TPersistent`
`TObject`

The latest version of this document can be found at lazarus-ccr.sourceforge.net .