Class SimpleCanvas
Canvas renderable
Inheritance
Namespace
Syntax
public class SimpleCanvas : SimpleCyclicWriter
Constructors
SimpleCanvas()
Makes a new instance of the simple canvas renderer
Declaration
public SimpleCanvas()
Properties
Color
Canvas color
Property Value
Color
Declaration
public Color Color { get; set; }
DoubleWidth
Whether this canvas is double-width or single-width
Property Value
bool
Declaration
public bool DoubleWidth { get; set; }
Height
Maximum height of the canvas (0 to automatically determine based on content)
Property Value
int
Declaration
public int Height { get; set; }
HighDensity
Whether this canvas is high density or low density
Property Value
bool
Declaration
public bool HighDensity { get; set; }
Pixels
Pixel representations
Width
Maximum width of the canvas (0 to automatically determine based on content)
Property Value
int
Declaration
public int Width { get; set; }
Methods
Render()
Renders a canvas
Returns
string
Rendered text that will be used by the renderer
Declaration
public override string Render()