[Overview][Types][Classes][Index] Reference for unit 'LazCanvas' (#lcl)

TLazCanvas.AssignPenData

Sets the Pen data for the canvas.

Declaration

Source position: lazcanvas.pas line 141

public procedure TLazCanvas.AssignPenData(

  APen: TFPCustomPen

);

Description

Utilized by LCLIntf.SelectObject and by the RestoreState method. This is needed because calling Assign for the Pen, Brush, or Font properties raises exceptions.

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