Difference between revisions of "Canvas"
m (Included in category image and canvas functions) |
|||
Line 5: | Line 5: | ||
== Canvas( width, height'', bgColor'' ) == | == Canvas( width, height'', bgColor'' ) == | ||
− | See [[Drawing images]]. | + | Create a canvas for drawing an image. See [[Drawing images]]. |
+ | |||
+ | «Width» and «height» specify the size of the canvas in pixels. The optional «bgColor» specifies the background color and can be a color integer or color name -- see [[Color parameters]] (default is 'White'). | ||
+ | |||
+ | The result is a canvas object, which can then be drawn to by various <code>CanvasDraw*</code>() functions. To obtain a image that can be displayed, you must call [[CanvasImage]]. See [[Drawing images]]. | ||
== See Also == | == See Also == |
Latest revision as of 00:45, 3 June 2017
New in Analytica 5.0
Canvas( width, height, bgColor )
Create a canvas for drawing an image. See Drawing images.
«Width» and «height» specify the size of the canvas in pixels. The optional «bgColor» specifies the background color and can be a color integer or color name -- see Color parameters (default is 'White').
The result is a canvas object, which can then be drawn to by various CanvasDraw*
() functions. To obtain a image that can be displayed, you must call CanvasImage. See Drawing images.
See Also
Comments
Enable comment auto-refresher