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

TFPCustomPen

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

TFPCustomPen - FreePascal base class for Pens

Declaration

Source position: fpcanvas.pp line 112

type TFPCustomPen = class(TFPCanvasHelper)

protected

  procedure DoCopyProps(); override;

  

DoCopyProps - copies properties from another Canvas Helper

  procedure SetMode(); virtual;

  

SetMode specifies Pen Mode

  procedure SetWidth(); virtual;

  

SetWidth - specifies width of the Pen

  procedure SetStyle(); virtual;

  

SetStyle - specifies style for the Pen

  procedure SetPattern(); virtual;

  

SetPattern - specifies the pattern for the Pen

public

  function CopyPen;

  

CopyPen - returns a copy of the pen with all properties the same, but not allocated

  property Style: TFPPenStyle; [rw]

  

The Style of the Pen

  property Width: Integer; [rw]

  

The Width in pixels of the current Pen

  property Mode: TFPPenMode; [rw]

  

The Mode of the Pen

  property Pattern: LongWord; [rw]

  

The Pattern for the Pen

end;

Inheritance

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.