Back to Devexpress

TdxStrokeOptions Class

vcl-cxcustomcanvas-367dc43d.md

latest2.6 KB
Original Source

TdxStrokeOptions Class

Stores stroke settings for drawing lines in DevExpress controls.

Declaration

delphi
TdxStrokeOptions = class(
    TcxLockablePersistent,
    IcxCanvasCacheControl
)

Remarks

The TdxStrokeOptions class implements line appearance settings with support for scaling according to the target monitor DPI.

Main API Members

The list below outlines key members of the TdxStrokeOptions class that allow you to change line appearance.

  • Identify the actual line color (ActualColor).
  • Adjust line width (Width).
  • Change line color (Color).
  • Switch between available line patterns (Style).
  • Avoid excessive redraw operations during batch line appearance setting changes (BeginUpdate, CancelUpdate, and EndUpdate).
  • Copy line appearance settings between visual elements (Assign).

Direct TdxStrokeOptions Class References

The following public API members reference a TdxStrokeOptions object:

TdxChartVisualElementAppearance.StrokeOptionsProvides access to visual element outline settings.TdxChartSeriesValueLabelAppearance.StrokeOptionsProvides access to the appearance settings of lines that connect labels to the corresponding series values.

Implements

IcxCanvasCacheControl

Inheritance

TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxLockablePersistent TdxStrokeOptions

See Also

TdxFillOptions Class

TdxFontOptions Class

TdxChildFontOptions Class

TdxStrokeOptions Members

cxCustomCanvas Unit