Jump to content

API Panel.Graphics.DrawCreate: Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 38: Line 38:


==Detailed description==
==Detailed description==
''<span style="color:red;">No additional information</span>''
 




Line 44: Line 44:
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)</pre>
''<span style="color:red;">No additional examples</span>''

Revision as of 11:55, 16 January 2023

DrawCreate
Creates a drawing area on a shape 
- HANDLE Handle
Component to create a drawing area on 
- LONG X
The horizontal size of the drawing canvas in pixels 
- LONG Y
The vertical size of the drawing canvas in pixels 
- BOOL Monochrome
Set true to create a greyscale image, else full colour 
- ULONG FillCol
The colour to fill the canvas with 
- NONE Return


Detailed description

Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)