enum
Opal::UI::AsciiRenderMode
Overview
ASCII rendering mode for image conversion
Defined in:
opal/ui/components/ascii_image.crEnum Members
-
HalfBlock =
0 -
High-density 2-pixel-per-cell mode using Unicode upper half block '▀' Top pixel sets foreground color, bottom pixel sets background color.
-
NearestChar =
1 -
Optical character density matching using ASCII glyphs based on pixel luminance
Constructors
Instance Method Summary
-
#half_block?
Returns
trueif this enum value equalsHalfBlock -
#nearest_char?
Returns
trueif this enum value equalsNearestChar