Converts the canvas color to a string. If the color is one of the color labels (e.g., clWhite or claWhite), the function will return the label. Otherwise, it will return the hexidecimal representation of the color.
Note |
---|
This function eases cross-library graphics code by using TCanvasXXX types and CanvasXXX functions. With these functions, types, and constants, you can write code that can be used in either a VCL or FMX application. It is recommended that you write the VCL code first as it is more limited that the FMX library. |
Namespace: RSGraphics
Delphi |
function CanvasColorToString(Color: TCanvasColor): String; |
Parameters
Color
Type: System.Void
Type: String