TdxAdvancedColorPalette.GetFillColor(string) Method
Returns a color by its unique identifier (name) within the fill palette.
Declaration
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