vcl-cxcustomcanvas-dot-tdxstrokeoptions-ff5f8e8a.md
Specifies line color.
property Color: TdxAlphaColor read; write; default TdxAlphaColors.Default;
| Type | Default | Description |
|---|---|---|
| TdxAlphaColor | Default |
The current line color.
|
Use Color and Width properties to change line color and width, respectively.
The Color property accepts TdxAlphaColor values instead of TColor to support transparency.
You can use the TdxAlphaColors record declared in the dxCoreGraphics unit to obtain compatible predefined colors or create custom TdxAlphaColor values. Alternatively, you can call the dxMakeAlphaColor function or other global methods declared in the same unit.
The Color property’s default value is TdxAlphaColors.Default.
The default Color property value indicates that the parent UI element’s settings determine the actual line color.
See Also