Class PieShape
Represents a pie 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 PieShape : Shape, IEntityBase, IXDLSSerializable, IShape, ILeafWidget, IWidget
Remarks
Supported by Essential PDF only.
Constructors
PieShape(Canvas)
Declaration
public PieShape(Canvas canvas)
Parameters
Type | Name | Description |
---|---|---|
Canvas | canvas |
Properties
Bounds
Gets / sets boundaries of the arc.
Declaration
public RectangleF Bounds { get; set; }
Property Value
Type |
---|
System.Drawing.RectangleF |
Height
Gets / sets width of the boundaries of the shape.
Declaration
public float Height { get; set; }
Property Value
Type |
---|
System.Single |
Location
Gets / sets location of the ellipse's boundaries.
Declaration
public PointF Location { get; set; }
Property Value
Type |
---|
System.Drawing.PointF |
Size
Gets / sets size of the ellipse's boundaries.
Declaration
public SizeF Size { get; set; }
Property Value
Type |
---|
System.Drawing.SizeF |
StartAngle
Gets / sets Start Angle.
Declaration
public float StartAngle { get; set; }
Property Value
Type |
---|
System.Single |
SweepAngle
Gets / sets Float Angle.
Declaration
public float SweepAngle { get; set; }
Property Value
Type |
---|
System.Single |
Width
Gets / sets width of the boundaries of the shape.
Declaration
public float Width { get; set; }
Property Value
Type |
---|
System.Single |
X
Gets x coordinate of the shape.
Declaration
public float X { get; set; }
Property Value
Type |
---|
System.Single |
Y
Gets y coordinate of the shape.
Declaration
public float Y { get; set; }
Property Value
Type |
---|
System.Single |
Methods
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
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 |