WallSize class

Define the wall width and height, where 1 unit refers to the side of a wall layer. So all these values must be multiplied by the length of a side (in logical pixels), if you want to have to logical pixels dimension.

Constructors

WallSize(int width, int height)
const

Properties

flipped → dynamic
Flip width with Height, and returns a new instance
no setter
hashCode int
The hash code for this object.
no setteroverride
height int
Wall relative height
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
surface → dynamic
Compute surface area of the wall size
no setter
width int
Wall relative width
final

Methods

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 *(double stoneSide) Size
Let's you multiply the wall size by a logical pixels width, to have the logical pixels dimensions of the wall.
operator ==(Object other) bool
The equality operator.
override