Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TPen.SetFPColor

Sets the pen Color to the specified TFPColor value.

Declaration

Source position: graphics.pp line 673

protected procedure TPen.SetFPColor(

  const AValue: TFPColor

); override;

Description

SetFPColor is a method used to set the Color for the pen to the value specified in AValue. AValue contains a TFPColor value as defined in the FCL. SetFPColor calls FPColorToTColor to convert AValue to the TColor value applied to the Color property.

See also

TPen.Color

  

The Color of the current Pen.

FPColorToTColor

  

FPColorToTColor - converts a color specified as a FPColor to a color of type TColor.



CT Web help

CodeTyphon Studio