Class PenSettings
Inheritance
System.Object
PenSettings
Implements
System.ComponentModel.INotifyPropertyChanged
Namespace: Syncfusion.SfImageEditor.Android
Assembly: Syncfusion.SfImageEditor.Android.dll
Syntax
public class PenSettings : Object, INotifyPropertyChanged
Constructors
PenSettings()
Initializes a new instance of thePenSettings class.
Declaration
public PenSettings()
Properties
Bounds
Gets or sets frame for text
Declaration
public RectangleF Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.RectangleF |
Color
Gets or sets the stroke color of the pen
Declaration
public Color Color { get; set; }
Property Value
Type |
---|
Android.Graphics.Color |
EnableDrag
Gets or sets a value indicating whether shape can be dragged or not.
Declaration
public bool EnableDrag { get; set; }
Property Value
Type |
---|
System.Boolean |
IsResizable
Gets or sets IsResizable for shapes
Declaration
public bool IsResizable { get; set; }
Property Value
Type |
---|
System.Boolean |
Mode
Gets or sets the mode of painting for the pen
Declaration
public Mode Mode { get; set; }
Property Value
Type |
---|
Mode |
Opacity
Declaration
public float Opacity { get; set; }
Property Value
Type |
---|
System.Single |
ShapeID
Gets the unique ID of the shape.
Declaration
public int ShapeID { get; }
Property Value
Type |
---|
System.Int32 |
StrokeWidth
Gets or sets the thickness of the pen
Declaration
public float StrokeWidth { get; set; }
Property Value
Type |
---|
System.Single |
Methods
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged