Canvas
Represents the HTML5 canvas element.
Features
Drawing

How To
Draw a Line
Advanced
JavaScript Widget
Item
Description
Last updated
Was this helpful?
Represents the HTML5 canvas element.

Last updated
Was this helpful?
Was this helpful?
private void canvas1_Redraw(object sender, EventArgs e)
{
canvas1.BeginPath();
canvas1.MoveTo(0, 0);
canvas1.LineTo(100, 100);
canvas1.StrokeStyle = Color.Red;
canvas1.Stroke();
}