TextOnPathRendering enum

How TextOnPath draws its text.

Inheritance
Available extensions

Values

auto → const TextOnPathRendering

From an atlas drawn again for the scale it's shown at (the zoom of any Transform or InteractiveViewer above it, times the screen's pixel ratio), so it stays sharp; from traced outlines once an atlas would grow past TextOnPath.maxAtlasTexels.

raster → const TextOnPathRendering

From one atlas, drawn for the screen at rest: softens when zoomed in.

vector → const TextOnPathRendering

From traced outlines (TextOutlines): sharp at any zoom. Matches the font's edges to a few hundredths of a pixel at the text's own size, and tracing takes a moment the first time.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

values → const List<TextOnPathRendering>
A constant List of the values in this enum, in order of their declaration.