Canvas
Represents the HTML5 canvas element.
Last updated
Was this helpful?
Represents the HTML5 canvas element.
Last updated
Was this helpful?
The Canvas
is a control which can be used to draw graphics via scripting. This can, for instance, be used to draw graphs, combine photos, or create simple (and not so simple) animations.
The Wisej.NET Canvas
control implements all the same properties and methods as the JavaScript control. You can use methods like LineTo()
, FillRect()
, and FillText()
to draw directly on the control in the browser.
You can draw a line with the Wisej.Web.Canvas
control the same way you would a JavaScript Canvas element:
Class name
wisej.web.Canvas
Theme appearance
Child components
Source code
You must still call BeginPath()
and Stroke()
to draw lines. See .
"canvas", see .
"canvas" is the HTML5 canvas element. See .