Converts the string label or hexidecimal string to a canvas 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: FMX.RS.Graphics
Delphi |
function StringToCanvasColor(const S: String): TCanvasColor; |
Parameters
S
Type: String
Type: TCanvasColor