Difference between revisions of "API Panel.Graphics"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
Line 61: | Line 61: | ||
==Constants provided for this class== | ==Constants provided for this class== | ||
− | {| class="wikitable" | | + | {| class="wikitable" |
+ | |- | ||
+ | !width="20%"|Type | ||
+ | !width="30%"|Name | ||
+ | !width="40%"|Value | ||
+ | |- | ||
|LONG | |LONG | ||
− | |Align_TopLeft|0 | + | |Align_TopLeft |
+ | |0 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_TopCenter|1 | + | |Align_TopCenter |
+ | |1 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_TopRight|2 | + | |Align_TopRight |
+ | |2 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_CenterLeft|4 | + | |Align_CenterLeft |
+ | |4 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_Center|5 | + | |Align_Center |
+ | |5 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_CenterRight|6 | + | |Align_CenterRight |
+ | |6 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_BottomLeft|8 | + | |Align_BottomLeft |
+ | |8 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_BottomCenter|9 | + | |Align_BottomCenter |
+ | |9 | ||
|- | |- | ||
|LONG | |LONG | ||
− | |Align_BottomRight|10 | + | |Align_BottomRight |
+ | |10 | ||
|} | |} | ||
Revision as of 21:46, 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
Type | Name | Value |
---|---|---|
LONG | Align_TopLeft | 0 |
LONG | Align_TopCenter | 1 |
LONG | Align_TopRight | 2 |
LONG | Align_CenterLeft | 4 |
LONG | Align_Center | 5 |
LONG | Align_CenterRight | 6 |
LONG | Align_BottomLeft | 8 |
LONG | Align_BottomCenter | 9 |
LONG | Align_BottomRight | 10 |
Examples
No examples available