DrawingLayer
The DrawingLayer class is the container of the DrawingItems.
Definition
Namespace: Dynamsoft.CameraEnhancer.Maui
Assembly: Dynamsoft.CameraEnhancer.Maui
class DrawingLayer
Methods & Properties
| Method | Description |
|---|---|
ClearDrawingItems |
Clear all the DrawingItems on the layer. |
SetDefaultStyle |
Set the default style of the layer with a style id. |
| Property | Type | Description |
|---|---|---|
Id |
int | The ID of the layer. |
DrawingItems |
*IList |
A list contains all the DrawingItems on the layer. |
Visible |
bool** | A bool value determines whether the layer is visible. |
ClearDrawingItems
Clear all the DrawingItems on the layer.
void ClearDrawingItems();
SetDefaultStyle
Set the default style of the layer with a style id. View all available IDs via EnumDrawingStyleId.
void SetDefaultStyle(int styleId);
Id
The ID of the layer.
int Id { get; }
DrawingItems
A list contains all the DrawingItems on the layer.
IList<DrawingItem> DrawingItems { get; set; }
Visible
A bool value determines whether the layer is visible.
bool Visible { get; set; }