Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxAdvancedColorPalette Class

Stores and manages two color palettes with named colors used in UI elements.

#Declaration

Delphi
TdxAdvancedColorPalette = class(
    TdxCustomColorPalette
)

#Remarks

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.

#Main API Members

The list below outlines key members of the TdxAdvancedColorPalette class. These members allow you to obtain and modify fill and stroke color palettes.

GetID
Returns the palette’s unique 128-bit identifier.
FillColors | StrokeColors
Provide access to fill and stroke color palettes.
GetFillColor | GetStrokeColor
Return fill and stroke palette colors by their names.

#Direct TdxAdvancedColorPalette Class Reference

The TdxGPImage.StretchDraw procedure accepts a TdxAdvancedColorPalette object as the APalette parameter.

#Inheritance

See Also