UnicodePlot::DotCanvas
Inherits UnicodePlot::Canvas < UnicodePlot::GraphicsArea < Reference < Object
Dot canvas — 2 vertical sub-pixels per character cell. Upper sub-pixel → ''', lower sub-pixel → '.', both → ':', neither → ' '.
Constants
DOT_CHARS = [' ', '\'', '.', ':']
Indexed by bitmask: bit0=upper set, bit1=lower set
EMPTY_CHAR = ' '
Constructors
new(char_height : Int32, char_width : Int32, *, visible : Bool = true, blend : Bool = true, origin_y : Float64 = 0.0, origin_x : Float64 = 0.0, height : Float64 = 1.0, width : Float64 = 1.0, yflip : Bool = false, xflip : Bool = false, yscale : Symbol | Proc(Float64, Float64) = :identity, xscale : Symbol | Proc(Float64, Float64) = :identity)
SourceInstance methods
blank
SourceMap grid value to display character. Must be overridden by subclasses.
x_pixel_per_char
Sourcey_pixel_per_char
Source