Table of Contents

Class PieShape

Namespace
Aspose.Imaging.Shapes
Assembly
Aspose.Imaging.dll

Represents a pie shape.

public class PieShape : EllipseShape
Inheritance
PieShape
Derived
Inherited Members

Constructors

PieShape()

Initializes a new instance of the PieShape class.

public PieShape()

PieShape(RectangleF, float, float)

Initializes a new instance of the PieShape class.

public PieShape(RectangleF rectangle, float startAngle, float sweepAngle)

Parameters

rectangle RectangleF

The rectangle.

startAngle float

The start angle.

sweepAngle float

The sweep angle.

Properties

Segments

Gets the shape segments.

public override ShapeSegment[] Segments { get; }

Property Value

ShapeSegment[]

The shape segments.

StartAngle

Gets or sets the start angle.

public float StartAngle { get; set; }

Property Value

float

The start angle.

SweepAngle

Gets or sets the sweep angle.

public float SweepAngle { get; set; }

Property Value

float

The sweep angle.

Methods

Equals(PieShape)

Check if objects are equal.

protected bool Equals(PieShape other)

Parameters

other PieShape

The other object.

Returns

bool

The equality comparison result.

Equals(object)

Check if objects are equal.

public override bool Equals(object obj)

Parameters

obj object

The other object.

Returns

bool

The equality comparison result.

GetHashCode()

Get hash code of the current object.

public override int GetHashCode()

Returns

int

The hash code.