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

Create(TPersistent,TdxAlphaColorFunc,TdxAlphaColorFunc) Constructor

Creates a new instance of area fill settings for the specified parent settings object.

#Declaration

Delphi
constructor Create(AOwner: TPersistent; AGetDefaultColorFunc: TdxAlphaColorFunc; AGetDefaultColor2Func: TdxAlphaColorFunc); reintroduce; overload;

#Parameters

Name Type Description
AOwner TPersistent

The parent object for the created instance of area fill settings. In DevExpress products, the parent for a TdxStrokeOptions object is another settings class instance.

AGetDefaultColorFunc TdxAlphaColorFunc

The function that obtains the actual primary color when the Color property is set to TdxAlphaColors.Default.

AGetDefaultColor2Func TdxAlphaColorFunc

The function that obtains the actual secondary color when the Color2 property is set to TdxAlphaColors.Default.

#Remarks

Warning

Call this constructor only if you use the TdxFillOptions class in a custom component. DevExpress components create required line settings automatically.

See Also