Class BezierShape
Represents a bezier shape.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class BezierShape : Shape, IEntityBase, IXDLSSerializable, IShape, ILeafWidget, IWidget
Remarks
Supported by Essential PDF only.
Constructors
BezierShape(Canvas)
Create a new Bezier Shape.
Declaration
public BezierShape(Canvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Canvas | canvas |
Properties
X1
The x-coordinate of the starting point of the curve.
Declaration
public float X1 { get; set; }
Property Value
Type |
---|
System.Single |
X2
The x-coordinate of the first control point of the curve.
Declaration
public float X2 { get; set; }
Property Value
Type |
---|
System.Single |
X3
The x-coordinate of the second control point of the curve.
Declaration
public float X3 { get; set; }
Property Value
Type |
---|
System.Single |
X4
The x-coordinate of the ending point of the curve.
Declaration
public float X4 { get; set; }
Property Value
Type |
---|
System.Single |
Y1
The y-coordinate of the starting point of the curve.
Declaration
public float Y1 { get; set; }
Property Value
Type |
---|
System.Single |
Y2
The y-coordinate of the first control point of the curve.
Declaration
public float Y2 { get; set; }
Property Value
Type |
---|
System.Single |
Y3
The y-coordinate of the second control point of the curve.
Declaration
public float Y3 { get; set; }
Property Value
Type |
---|
System.Single |
Y4
The y-coordinate of the ending point of the curve.
Declaration
public float Y4 { get; set; }
Property Value
Type |
---|
System.Single |
Methods
ReadXmlAttributes(IXDLSAttributeReader)
Read XML Attributes.
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Serialize XML Attributes.
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer |
Overrides
Explicit Interface Implementations
IWidget.Draw(CustomGraphics, LayoutedWidget)
Declaration
void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
Parameters
Type | Name | Description |
---|---|---|
CustomGraphics | cg | |
LayoutedWidget | ltWidget |