BasicTextRender.overlaytext!
— Methodoverlaytext!(img, str::String, height::Int, bottomleft::Tuple{Int,Int};
font::String="Courier",
color::ColorTypes.RGBA{Float64}=ColorTypes.RGBA(0.0,0.0,0.0,1.0))
Overlay text on img
in-place.
BasicTextRender.rendertext
— Methodrendertext(str::String;
height::Int=0,
font::String="Courier",
color::ColorTypes.RGBA{Float64}=ColorTypes.RGBA(0.0,0.0,0.0,1.0),
backgroundColor::ColorTypes.RGBA{Float64}=ColorTypes.RGBA(0.0,0.0,0.0,0.0))
Render monospaced text from character lookup tables. Not recommended for high quality output. Loads slowly first time, or whenever the font is changed. Much faster next time.
font: "Courier", "Courier New", "Monaco"