Class ShapeChangeEventArgs
Provides the information about the ShapeChanging, OnShapeResizeStart, OnShapeDragStart, OnShapeResizeEnd, and OnShapeDragEnd event callbacks.
Inheritance
Namespace: Syncfusion.Blazor.ImageEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ShapeChangeEventArgs : Object
Constructors
ShapeChangeEventArgs()
Declaration
public ShapeChangeEventArgs()
Properties
Action
Gets a value that indicates the name of the action to be performed.
Declaration
public string Action { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string value that represents the type of customization done in shapes. |
Remarks
The possible actions include insert, select, delete, change stroke width, change stroke color, change fill color, change font family, change font size, change font style, and change font color.
AllowShapeOverflow
Gets or sets to allow the shapes from being dragged outside the image boundary.
Declaration
public bool AllowShapeOverflow { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Cancel
Gets or sets a value indicating whether the shape changing action should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Optional
|
CurrentShapeSettings
Gets or sets the shape settings after inserting, deleting, and customization of the shape can be performed.
Declaration
public ShapeSettings CurrentShapeSettings { get; set; }
Property Value
Type | Description |
---|---|
ShapeSettings | A ShapeSettings object that represents the all the details of the shape including its position, stroke color, stroke width, fill color etc. |
PreviousShapeSettings
Gets the shape settings before inserting, deleting, and customization of the shape can be performed.
Declaration
public ShapeSettings PreviousShapeSettings { get; set; }
Property Value
Type | Description |
---|---|
ShapeSettings | A ShapeSettings object that represents the all the details of the shape including its position, stroke color, stroke width, fill color etc. |