RasterRenderOptions class final Ultraviolet

Pixel geometry, terminal colors, and fidelity policy.

Glyph coverage uses four samples per axis: deterministic software antialiasing, not platform font hinting or LCD subpixel rendering.

Constructors

RasterRenderOptions({double fontSize = 14, int? cellWidth, int? cellHeight, int padding = 0, UvRgb foreground = const UvRgb(204, 204, 204), UvRgb background = const UvRgb(0, 0, 0), List<UvRgb>? palette, bool strict = true})
Creates a native terminal rendering profile.
const

Properties

background UvRgb
Default terminal background and image padding color.
final
cellHeight int?
Cell height; defaults to the rounded-up regular-face line height.
final
cellWidth int?
Cell width; defaults to the rounded-up regular-face space advance.
final
fontSize double
Font size in pixels, between 1 and 256.
final
foreground UvRgb
Default terminal foreground.
final
hashCode int
The hash code for this object.
no setterinherited
padding int
Padding on all four image edges, in pixels.
final
palette List<UvRgb>?
Optional complete 16- or 256-color terminal palette.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strict bool
Reject captures with fidelity diagnostics rather than approximating them.
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