IdxColorPalette Interface
Exposes the functions that return stroke and fill colors by their names in the corresponding palettes.
Declaration
IdxColorPalette = interface(IInterface)
Remarks
SVG image rendering routines can obtain named colors from the fill and stroke palettes via the IdxColorPalette interface and use them instead of the standard colors corresponding to the recognized keywords specified in the ‘fill’ and ‘stroke’ attributes of SVG elements.
This interface provides the following functions that allow you to:
Obtain the palette’s unique 128-bit identifier (GetID);
Obtain a TdxAlphaColor value by its name in the fill or stroke color palette (GetFillColor and GetStrokeColor).
The actual behavior of the functions exposed by this interface depends on its particular implementation. Refer to the descriptions of the corresponding functions provided by all classes that implement the IdxColorPalette interface.