OverlayPosition class

The location an object is overlaid on top of a grid.

Constructors

OverlayPosition({GridCoordinate? anchorCell, int? heightPixels, int? offsetXPixels, int? offsetYPixels, int? widthPixels})
OverlayPosition.fromJson(Map json_)

Properties

anchorCell GridCoordinate?
The cell the object is anchored to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heightPixels int?
The height of the object, in pixels.
getter/setter pair
offsetXPixels int?
The horizontal offset, in pixels, that the object is offset from the anchor cell.
getter/setter pair
offsetYPixels int?
The vertical offset, in pixels, that the object is offset from the anchor cell.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widthPixels int?
The width of the object, in pixels.
getter/setter pair

Methods

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

Operators

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