CaptureRasterizer class final Capture

Native image exporter for immutable terminal captures.

A caller supplies the font and rendering profile explicitly. The same rendered PNG is used by CaptureImage.toHtml, avoiding a second browser rendering implementation.

Constructors

CaptureRasterizer({required RasterFont font, RasterRenderOptions options = const RasterRenderOptions()})
Creates an exporter with a fixed font and render profile.
const

Properties

font RasterFont
Terminal font faces used to draw glyphs.
final
hashCode int
The hash code for this object.
no setterinherited
options RasterRenderOptions
Pixel geometry, terminal colors, and fidelity policy.
final
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
render(TerminalCapture capture) CaptureImage
Renders capture through the Ultraviolet raster backend.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited