Table of Contents

Class RectangleShape

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

Represents a rectangular shape.

public class RectangleShape : RectangleProjectedShape
Inheritance
RectangleShape
Derived
Inherited Members

Constructors

RectangleShape()

Initializes a new instance of the RectangleShape class.

public RectangleShape()

RectangleShape(RectangleF)

Initializes a new instance of the RectangleShape class.

public RectangleShape(RectangleF rectangle)

Parameters

rectangle RectangleF

The rectangle.

Properties

Segments

Gets the shape segments.

public override ShapeSegment[] Segments { get; }

Property Value

ShapeSegment[]

The shape segments.

Methods

Equals(RectangleShape)

Check if objects are equal.

protected bool Equals(RectangleShape other)

Parameters

other RectangleShape

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.