WebCanvas.Paint

From Xojo Documentation

Revision as of 16:43, 28 January 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Event


WebCanvas.Paint(g as WebGraphics)

New in 2012r1

Supported for all project types and targets.

The area needs to be redrawn, such as when it has been resized.

Sample Code

This code draws a red rectangle in the Canvas:

g.ForeColor = &cff0000
g.FillRect(0, 0, 100, 100)