TTeeCanvas.AssignVisiblePenColor

TTeeCanvas.AssignVisiblePenColor
TTeeCanvas

procedure AssignVisiblePenColor(Const APen: TTeePen; AColor: TColor); virtual;

Unit
TeCanvas

Description

The AssignVisiblePenColor method copies the APen parameter properties into the Canvas.Pen object, and uses the AColor parameter instead of the APen color.

Note: It is different to call AssignVisiblePenColor than calling Canvas.Pen.Assign( MyPen ) because AssignVisiblePenColor does additional tasks, like setting the ( optional ) Pen.OutLine and the ( optional ) Pen.SmallDots properties.

See also:

AssignVisiblePen method.
TChartPen object.