Struct DxfGradientColor
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A colour of a HATCH's gradient and where it stands along it, as AutoCAD's GradientColor: the colour (groups 421,
and 63 where the colour is one of AutoCAD's index) and its value (463), 0 at the start of the gradient and 1 at its end.
public readonly struct DxfGradientColor
- Inherited Members
Remarks
A gradient from red to blue is new DxfGradientColor(DxfColor.FromRgb(255, 0, 0), 0) and
new DxfGradientColor(DxfColor.FromRgb(0, 0, 255), 1).
Constructors
- DxfGradientColor(DxfColor, float)
Initializes a colour of a gradient, as AutoCAD's
new GradientColor(color, value).
Properties
- Color
Gets the colour, as AutoCAD's
Color.
- Value
Gets where the colour stands along the gradient, as AutoCAD's
Value: 0 at its start, 1 at its end.