Table of Contents

Class ObjectWithBounds

Namespace
Aspose.Imaging
Assembly
Aspose.Imaging.dll

The object having bounds.

public abstract class ObjectWithBounds
Inheritance
ObjectWithBounds
Derived
Inherited Members

Constructors

ObjectWithBounds()

protected ObjectWithBounds()

Properties

Bounds

Gets the object's bounds.

public abstract RectangleF Bounds { get; }

Property Value

RectangleF

The object's bounds.

Methods

Equals(ObjectWithBounds)

Check if objects are equal.

protected bool Equals(ObjectWithBounds other)

Parameters

other ObjectWithBounds

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.

GetBounds(Matrix)

Gets the object's bounds.

public abstract RectangleF GetBounds(Matrix matrix)

Parameters

matrix Matrix

The matrix to apply before bounds will be calculated.

Returns

RectangleF

The estimated object's bounds.

GetBounds(Matrix, Pen)

Gets the object's bounds.

public abstract RectangleF GetBounds(Matrix matrix, Pen pen)

Parameters

matrix Matrix

The matrix to apply before bounds will be calculated.

pen Pen

The pen to use for object. This can influence the object's bounds size.

Returns

RectangleF

The estimated object's bounds.

GetHashCode()

Get hash code of the current object.

public override int GetHashCode()

Returns

int

The hash code.

Transform(Matrix)

Applies the specified transformation to the shape.

public abstract void Transform(Matrix transform)

Parameters

transform Matrix

The transformation to apply.