OrthographicStretch class final Scene graph

OrthographicSize.stretch: an exact visible area.

Inheritance

Constructors

OrthographicStretch(double width, double height)
Creates a size showing exactly width by height world units.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
height → double
The visible height in world units.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
The visible width in world units.
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
visibleSize(Size viewportSize) → Vector2
The visible (width, height) in world units for a view of viewportSize logical pixels.
override

Operators

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