Bounds<T extends num> class

Rectangular bound delimited by orthogonal lines passing through two points.

Constructors

Bounds(CustomPoint<T> a, CustomPoint<T> b)
factory

Properties

bottomLeft → CustomPoint<T>
Bottom-Left corner's point.
no setter
bottomRight → CustomPoint<T>
Bottom-Right corner's point.
no setter
center → CustomPoint<double>
This Bounds central point.
no setter
hashCode → int
The hash code for this object.
no setterinherited
max → CustomPoint<T>
final
min → CustomPoint<T>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → CustomPoint<T>
A point that contains the difference between the point's axis projections.
no setter
topLeft → CustomPoint<T>
Top-Left corner's point.
no setter
topRight → CustomPoint<T>
Top-Right corner's point.
no setter

Methods

contains(CustomPoint<T> point) → bool
containsBounds(Bounds<T> b) → bool
containsPartialBounds(Bounds<T> b) → bool
extend(CustomPoint<T> point) → Bounds<T>
Creates a new Bounds obtained by expanding the current ones with a new point.
intersect(Bounds<T> b) → Bounds<T>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited