vcl-dxcoregraphics-75aaf04d.md
Stores and manages two color palettes with named colors used in UI elements.
TdxAdvancedColorPalette = class(
TdxCustomColorPalette
)
The TdxAdvancedColorPalette class implements a pair of palettes that include named colors used to fill enclosed polygons and draw lines (strokes). SVG image rendering routines can obtain colors from these palettes through the IdxColorPalette interface and use them instead of the standard colors that correspond to keywords specified in 'fill' and 'stroke' attributes of SVG elements.
The list below outlines key members of the TdxAdvancedColorPalette class. These members allow you to obtain and modify fill and stroke color palettes.
GetIDReturns the palette’s unique 128-bit identifier.FillColors | StrokeColorsProvide access to fill and stroke color palettes.GetFillColor | GetStrokeColorReturn fill and stroke palette colors by their names.
The TdxGPImage.StretchDraw procedure accepts a TdxAdvancedColorPalette object as the APalette parameter.
TObject TInterfacedObject TdxCustomColorPalette TdxAdvancedColorPalette
See Also