Property ShadeTintValue
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
ShadeTintValue
Gets or sets how the colour of a gradient of one colour is tinted (group 462), as AutoCAD's ShadeTintValue: from
nought, dark, to 1, light; nought where the record gives none. Set on a gradient of two colours in one-colour mode
(GradientOneColorMode), it also makes the second colour the tint of the first, as AutoCAD 2021 does
each time it is set, the same value again too: red at 0 and green at 1, the tint set to 0.3, read back as red and
(153, 0, 0), a true colour at the value the second colour had. The colours of a gradient of two colours in
two-colour mode, and a gradient of one colour only, are not touched.
public float ShadeTintValue { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Thrown when the value set is not a finite number.
- InvalidOperationException
Thrown when another value is set on a HATCH with no gradient data, or one that is erased.