Bounds class
Rectangular bound delimited by orthogonal lines passing through two points.
Constructors
- Bounds(dynamic min, dynamic max)
-
factory
Properties
- bottomLeft → UPoint
-
Bottom left corner's point.
no setter
- bottomRight → UPoint
-
Bottom right corner's point.
no setter
- center → UPoint
-
This Bounds central point.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- max → UPoint
-
final
- min → UPoint
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
Size of bounds.
no setter
- topLeft → UPoint
-
Top left corner's point.
no setter
- topRight → UPoint
-
Top right corner's point.
no setter
Methods
-
contains(
UPoint point) → bool -
containsBounds(
Bounds b) → bool -
containsPartialBounds(
Bounds b) → bool -
extend(
dynamic _point) → Bounds - Creates a new Bounds obtained by expanding the current ones with a new point.
-
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.
override