[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TPen.SetFPColor

Sets the pen Color to the specified TFPColor value.

Declaration

Source position: graphics.pp line 676

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.


Version 3.2 Generated 2024-02-25 Home