ReferencePosition class

A simple wrapper for the x & y values of the XL's reference position as doubles between 0..1.

Constructors

ReferencePosition(double x, double y)
A simple wrapper for the x & y values of the XL's reference position as doubles between 0..1.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
The reference position on the x axis. By default, it is set to 0.5.
final
y double
The reference position on the y axis. By default, it is set to 0.5.
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.
inherited

Constants

center → const ReferencePosition
A ReferencePosition whose x and y values are both 0.5, referring to the center of a viewport.