Difference between revisions of "API Panel.Graphics"
From Flowcode Help
Jump to navigationJump to search (XML import)  | 
				 (XML import)  | 
				||
| Line 1: | Line 1: | ||
<sidebar>API contents</sidebar>  | <sidebar>API contents</sidebar>  | ||
Direct drawing routines for a single frame  | Direct drawing routines for a single frame  | ||
| + | This class is contained within [[API Panel|Panel]]  | ||
==Sub-classes provided for this class==  | ==Sub-classes provided for this class==  | ||
Revision as of 21:17, 11 May 2013
<sidebar>API contents</sidebar> Direct drawing routines for a single frame This class is contained within Panel
Contents
Sub-classes provided for this class
| Shape | Routines to change the last drawn shape | 
Functions provided for this class
| Redraw | Sends a redraw request to the given component | 
| SetColor | Sets the draw colour for and subsequent graphics objects | 
| SetColorRGB | Sets the draw colour for and subsequent graphics objects | 
| SetTextFont | Sets the text font for subsequent text objects | 
| SetTextScale | Sets the text scale for subsequent text objects | 
| DrawCreate | Creates a drawing area on a shape | 
| DrawBegin | Begins drawing on a given shape | 
| DrawEnd | Ends drawing started with DrawBegin() | 
| DrawDelete | Deletes a drawing area for a shape | 
| DrawText | Draws a line of text texture | 
| DrawPoint | Draws a point on a texture | 
| DrawLine | Draws a line on a texture | 
| DrawRect | Draws a rectangle on a texture | 
| DrawCircle | Draws a circle on a texture | 
Constants provided for this class
| LONG | 0 | 
| LONG | 1 | 
| LONG | 2 | 
| LONG | 4 | 
| LONG | 5 | 
| LONG | 6 | 
| LONG | 8 | 
| LONG | 9 | 
| LONG | 10 | 
Examples
No examples available