MokuroBlock class

Coordinate information for a single group of text that can have multiple lines.

Constructors

MokuroBlock({required Rect rectangle, required bool isVertical, required double fontSize, required int zIndex, required List<String> lines})
Initialise this object.
const

Properties

fontSize → double
The font size that this block should be rendered with.
final
hashCode → int
The hash code for this object.
read-onlyinherited
isVertical → bool
Whether or not the text for this block should be rendered as vertical text.
final
lines → List<String>
The individual lines to be rendered.
final
rectangle → Rect
Coordinates for this block.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
zIndex → int
The z-index of this block, to allow prioritising which block should come first in a stack.
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.
inherited