RectRange<TNum extends num> class
Constructors
- RectRange({required TNum minX, required TNum maxX, required TNum minY, required TNum maxY})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxX → TNum
-
Maximum value on the X axis.
final
- maxY → TNum
-
Maximum value on the Y axis.
final
- minX → TNum
-
Minimum value on the X axis.
final
- minY → TNum
-
Minimum value on the Y axis.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
contains(
num x, num y) → bool -
Returns
true
if the value is in the range. -
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 %(
num? value) → RectRange< num> -
Returns the remainder of the division by
value
. -
operator *(
num? value) → RectRange< num> ? -
Multiply by
value
. -
operator +(
RectRange< num> ? other) → RectRange<num> -
Add
other
. -
operator -(
RectRange< num> ? other) → RectRange<num> -
Subtract
other
. -
operator /(
num? value) → RectRange< num> -
Divide by
value
. -
operator ==(
Object other) → bool -
The equality operator.
override
-
operator ~/(
num? value) → RectRange< num> -
Performs truncated division by
value
.