Skip to main content
All docs
V25.1
  • Create(TPersistent,TdxAlphaColorFunc) Constructor

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

    Declaration

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

    Parameters

    Name Type Description
    AOwner TPersistent

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

    AGetDefaultColorFunc TdxAlphaColorFunc

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

    Remarks

    Warning

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

    See Also