WebGraphics
From Xojo Documentation
Supported Platforms Project Types: Web Platforms: macOS, Windows, Linux |
- For desktop applications, see Graphics.
Class (inherits from Object)
New in 2012r1
WebGraphics class objects are used for drawing text, lines, rectangles, ovals, and pictures from within the a WebCanvas.Paint event.
Properties | |||||||||||
|
Methods | |||||||||||||||
|
Notes
The X and Y parameters of the methods are the horizontal and vertical coordinates of the left-top corner of the object being drawn or cleared. The origin (0,0) is the top-left corner of the control or window in which the drawing is being done.
For example, 50,50 is 50 pixels to the right and 50 pixels down from the top-left of the window or control.