Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSGraphics > 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.

noteNote

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

Parameters

Color

Type: System.Void

Return Value

Type: String

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb