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.GetFillColor(string) Method

Returns a color by its unique identifier (name) within the fill palette.

#Declaration

Delphi
function GetFillColor(const ID: string): TdxAlphaColor; override;

#Parameters

Name Type
ID string

#Returns

Type
TdxAlphaColor

#Remarks

Call this function to obtain a color whose name within the fill palette is passed as the ID parameter. The GetFillColor function returns the TdxAlphaColors.Default writable typed constant if the specified name corresponds to no color within the palette.

SVG rendering routines call the GetFillColor function internally via the IdxColorPalette interface to obtain a color whose name within the fill palette matches the recognized keyword specified in the ‘fill’ attribute of an SVG element.

The GetFillColor function is the FillColors property’s getter.

See Also