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.
Definition at line 11 of file DrawingOptions.cs.
|
inline |
Constructs DrawingOptions with default values.
Definition at line 17 of file DrawingOptions.cs.
|
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. |
Definition at line 33 of file DrawingOptions.cs.
|
inline |
Returns a string representation of this DrawingOptions instance.
Definition at line 66 of file DrawingOptions.cs.
|
getset |
Color used for drawing. Defaults to ColorConstant.Red.
Definition at line 44 of file DrawingOptions.cs.
|
staticget |
Default equality comparer for comparing DrawingOptions data values.
Definition at line 57 of file DrawingOptions.cs.
The opacity level used for drawing. Defaults to 100 (fully opaque).
Definition at line 51 of file DrawingOptions.cs.