TextRun class
A representation of a styled section of text in Rive.
Constructors
Properties
- font → Font
-
final
- fontSize → double
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- letterSpacing → double
-
final
- lineHeight → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleId → int
-
final
- unicharCount → int
-
final
- userData → Object?
-
final
Methods
-
copyWith(
{int? unicharCount, int? styleId, Object? userData, Font? font, double? fontSize, double? lineHeight, double? letterSpacing}) → TextRun -
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