Rectangle2D class

Represents a virtual rectangle of the screen

Constructors

Rectangle2D({double? originX, double? originY, double? width, double? height})

Properties

hashCode int
The hash code for this object.
no setteroverride
height double?
Represents the height of the rectangle
final
originX double?
Represents the X-axis point of the origin coordinate
final
originY double?
Represents the Y-axis point of the origin coordinate
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double?
Represents the width of the rectangle
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override