Public Member Functions | |
| DrawingOptions () | |
| Constructs DrawingOptions with default values. | |
| DrawingOptions (Color color, Opacity opacity) | |
| Constructs DrawingOptions with specified values for color and opacity . | |
| override string | ToString () |
| Returns a string representation of this DrawingOptions instance. | |
Properties | |
| Color | Color = new(ColorConstant.Red) [get, set] |
| Color used for drawing. Defaults to ColorConstant.Red. | |
| Opacity | Opacity = new(100) [get, set] |
| The opacity level used for drawing. Defaults to 100 (fully opaque). | |
| static IEqualityComparer< DrawingOptions > | Comparer = new DrawingOptionsEqualityComparer() [get] |
| Default equality comparer for comparing DrawingOptions data values. | |
Represents the drawing options used by the Painter for rendering.
Includes configuration for color, opacity, and reserved options for future use.
|
inline |
Constructs DrawingOptions with default values.
|
inline |
Constructs DrawingOptions with specified values for color and opacity .
| color | The color to be used for drawing. This should be a valid Color value. |
| opacity | The opacity to be applied. Should be an instance of Opacity representing the transparency level. |
|
inline |
Returns a string representation of this DrawingOptions instance.
|
getset |
Color used for drawing. Defaults to ColorConstant.Red.
|
staticget |
Default equality comparer for comparing DrawingOptions data values.
The opacity level used for drawing. Defaults to 100 (fully opaque).