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

TFPCustomBrush

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

TFPCustomBrush - FreePascal base class for Brushes

Declaration

Source position: fpcanvas.pp line 139

type TFPCustomBrush = class(TFPCanvasHelper)

protected

  procedure SetStyle(); virtual;

  

SetStyle - specifies the style for the Brush

  procedure SetImage(); virtual;

  

SetImage - specifies the Image for use with the Brush (eg if BrushStyle is bsImage)

  procedure DoCopyProps(); override;

  

DoCopyProps - copies properties from another Canvas Helper

public

  function CopyBrush;

  

CopyBrush - returns a copy of the brush with all properties the same, but not allocated

  property Style: TFPBrushStyle; [rw]

  

The Style for the current Brush

  property Image: TFPCustomImage; [rw]

  

The Image to be used in the Brush (if Style is bsImage)

  property Pattern: TBrushPattern; [rw]

  

The Pattern to use for the Brush (if Style is bsPattern)

end;

Inheritance

TFPCustomBrush

  

TFPCustomBrush - FreePascal base class for Brushes

|

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.