Class ObjectWithBounds
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
ObjectWithBoundsThe other object.
Returns
- bool
The equality comparison result.
Equals(object)
Check if objects are equal.
public override bool Equals(object obj)
Parameters
obj
objectThe other object.
Returns
- bool
The equality comparison result.
GetBounds(Matrix)
Gets the object's bounds.
public abstract RectangleF GetBounds(Matrix matrix)
Parameters
matrix
MatrixThe 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
MatrixThe matrix to apply before bounds will be calculated.
pen
PenThe 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
MatrixThe transformation to apply.