RitoRunPaint class final
Constructors
-
RitoRunPaint({required RitoFontPaint font, required RitoColor color, double? wordSpacingPx, double? letterSpacingPx, RitoColor? backgroundColor, double? backgroundRadius, required List<
RitoTextShadow> textShadows, RitoRunDecoration? decoration, RitoSpacing? padding, RitoRunBorder? border, double? boxTopPx, double? boxBottomPx, bool boxStart = true, bool boxEnd = true})
Properties
- backgroundColor → RitoColor?
-
final
- backgroundRadius → double?
-
final
- border → RitoRunBorder?
-
final
- boxBottomPx → double?
-
final
- boxEnd → bool
-
final
- boxStart → bool
-
Whether this run opens/closes its inline box. A run split across
lines squares the split ends: rounding and start/end borders apply
only where the box actually opens or closes.
final
- boxTopPx → double?
-
Engine-computed inline box top/bottom relative to the run rect top;
null when the run carries no box paint (extents then derive from
font metrics).
final
- color → RitoColor
-
final
- decoration → RitoRunDecoration?
-
final
- font → RitoFontPaint
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- letterSpacingPx → double?
-
final
- padding → RitoSpacing?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textShadows
→ List<
RitoTextShadow> -
final
- wordSpacingPx → double?
-
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