API Panel.Graphics.DrawCreate: Difference between revisions
Appearance
XML import |
XML Import to change Variable types into Variable Types |
||
| Line 11: | Line 11: | ||
==Parameters== | ==Parameters== | ||
[[Variable | [[Variable Types|HANDLE]] ''Handle'' | ||
:Component to create a drawing area on | :Component to create a drawing area on | ||
[[Variable | [[Variable Types|LONG]] ''X'' | ||
:The horizontal size of the drawing canvas in pixels | :The horizontal size of the drawing canvas in pixels | ||
:''The default value for this parameter is: '''''320''' | :''The default value for this parameter is: '''''320''' | ||
[[Variable | [[Variable Types|LONG]] ''Y'' | ||
:The vertical size of the drawing canvas in pixels | :The vertical size of the drawing canvas in pixels | ||
:''The default value for this parameter is: '''''256''' | :''The default value for this parameter is: '''''256''' | ||
[[Variable | [[Variable Types|BOOL]] ''Monochrome'' | ||
:Set true to create a greyscale image, else full colour | :Set true to create a greyscale image, else full colour | ||
:''The default value for this parameter is: '''''0''' | :''The default value for this parameter is: '''''0''' | ||
[[Variable | [[Variable Types|ULONG]] ''FillCol'' | ||
:The colour to fill the canvas with | :The colour to fill the canvas with | ||
:''The default value for this parameter is: '''''0''' | :''The default value for this parameter is: '''''0''' | ||
Revision as of 11:09, 10 June 2013
<sidebar>API contents</sidebar> Creates a drawing area on a shape
Parameters
HANDLE Handle
- Component to create a drawing area on
LONG X
- The horizontal size of the drawing canvas in pixels
- The default value for this parameter is: 320
LONG Y
- The vertical size of the drawing canvas in pixels
- The default value for this parameter is: 256
BOOL Monochrome
- Set true to create a greyscale image, else full colour
- The default value for this parameter is: 0
ULONG FillCol
- The colour to fill the canvas with
- The default value for this parameter is: 0
Return value
This call does not return a value
Detailed description
No additional information
Examples
Calling in a calculation
- Add to a calculation icon:
::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)
No additional information