Skip to main content

IdxColorPalette Interface

Exposes the functions that return stroke and fill colors by their names in corresponding palettes.

Declaration

IdxColorPalette = interface(IInterface)

Remarks

SVG image draw routines can obtain named colors from fill and stroke palettes through the IdxColorPalette interface and use them instead of the standard colors that correspond to keywords specified in the 'fill' and 'stroke' attributes of SVG elements.

Main API Members

The list below outlines key members of the IdxColorPalette interface. These members allow you to work with palette colors.

GetID
Returns the palette’s unique 128-bit identifier.
GetFillColor | GetStrokeColor
Returns fill and stroke palette colors by their names.

Inheritance

IInterface
IdxColorPalette
See Also