[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the Color for the pixel at the given coordinates as a TFPColor value.
Source position: graphics.pp line 1037
protected function TCanvas.GetColor( |
x: Integer; |
y: Integer |
):TFPColor; override; |
x |
|
Horizontal position for the pixel. |
y |
|
Vertical position for the pixel. |
TFPColor value for the pixel at the specified position.
Uses the indexed Pixels property to retrieve the color information for the pixel at the coordinates in x and y. Calls TColorToFPColor to convert the TColor value to the TFPColor type used in the return value.
|
The color of the Pixels located at the specified position. |
|
|
TColorToFPColor - converts a color of type TColor to one specified as a FPColor. |
Version 3.2 | Generated 2024-02-25 | Home |