TextPosition class

A description of how to update the current text position.

If reset is true, this update discards the previous current text position. Otherwise, it appends to the previous text position.

Annotations
  • @immutable

Constructors

TextPosition({double? x, double? y, double? dx, double? dy, bool reset = false, AffineMatrix? transform})
See TextPosition.
const

Properties

dx double?
The horizontal axis coordinate to add to the current text position.
final
dy double?
The vertical axis coordinate to add to the current text position.
final
hashCode int
The hash code for this object.
no setteroverride
reset bool
If true, reset the current text position using x and y.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transform AffineMatrix?
A transform applied to the rendered font.
final
x double?
The horizontal axis coordinate for the current text position.
final
y double?
The vertical axis coordinate for the current text position.
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 ==(Object other) bool
The equality operator.
override