Represents a renderable canvas.
Constructors
public Canvas(int width, int height)
Initializes a new instance of the Canvas class.
Parameters:
width (int)The canvas width.
height (int)The canvas height.
Properties
Height
: intGets the height of the canvas.
MaxWidth
: int?Gets or sets the render width of the canvas.
PixelWidth
: intGets or sets the pixel width.
Scale
: boolGets or sets a value indicating whether or not to scale the canvas when rendering.
Width
: intGets the width of the canvas.