Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.Graphics > Routines

CanvasColorToString(TCanvasColor) Method

Scroll Prev Top Next More

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.


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



Type: System.Void

Return Value

Type: String

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb