Class ImageEditorShapeSettings
Represents a class that contains the settings for shape annotation view.
Inherited Members
Namespace: Syncfusion.Maui.ImageEditor
Assembly: Syncfusion.Maui.ImageEditor.dll
Syntax
public class ImageEditorShapeSettings : ImageEditorAnnotationSettings
Constructors
ImageEditorShapeSettings()
Declaration
public ImageEditorShapeSettings()
Fields
ColorProperty
Identifies the Color dependency property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Color dependency property. |
IsFilledProperty
Identifies the IsFilled dependency property.
Declaration
public static readonly BindableProperty IsFilledProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for IsFilled dependency property. |
PointsProperty
Identifies the Points dependency property.
Declaration
public static readonly BindableProperty PointsProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for Points dependency property. |
StrokeThicknessProperty
Identifies the StrokeThickness dependency property.
Declaration
public static readonly BindableProperty StrokeThicknessProperty
Field Value
Type | Description |
---|---|
Microsoft.Maui.Controls.BindableProperty | The identifier for StrokeThickness dependency property. |
Properties
Color
Gets or sets the shape annotation color.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Maui.Graphics.Color | The default value is |
Examples
The below examples shows, how to set a color to the annotation.
<imageEditor:SfImageEditor x:Name="imageEditor"
Source="syncfusion.png"
ImageLoaded="OnImageLoaded"
</imageEditor:SfImageEditor>
IsFilled
Gets or sets a value indicating whether the color should be applied to the shape fill or stroke.
Declaration
public bool IsFilled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
Remarks
Examples
The below examples shows, how to enable a fill to the annotation.
<imageEditor:SfImageEditor x:Name="imageEditor"
Source="syncfusion.png"
ImageLoaded="OnImageLoaded"
</imageEditor:SfImageEditor>
Points
Gets or sets the path points.
Declaration
public PointCollection Points { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.PointCollection |
Remarks
StrokeThickness
Gets or sets the shape annotation stroke thickness.
Declaration
public double StrokeThickness { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is |
Remarks
Examples
The below examples shows, how to set a stroke thickness to the annotation.
<imageEditor:SfImageEditor x:Name="imageEditor"
Source="syncfusion.png"
ImageLoaded="OnImageLoaded"
</imageEditor:SfImageEditor>