Component: Ellipse (Graphical Manager Primitives)

From Flowcode Help
Revision as of 14:13, 22 October 2025 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Author Matrix TSL
Version 1.0
Category Graphical Manager Primitives


Ellipse component

An ellipse primitive used with the Graphical Manager on the GLCD Layout Editor panel.

Detailed description

No detailed description exists yet for this component

Examples

No additional examples

Macro reference

GetID

Fc9-comp-macro.png GetID
Returns the assigned object/widget ID. 
Fc9-u16-icon.png - UINT Return


ModifyColour

Fc9-comp-macro.png ModifyColour
Changes the theme index of the selected Object or Widget. 
Fc9-u8-icon.png - BYTE Index
0=Foreground, 1=Background, 2=Text, 3=Highlight 
Fc9-u8-icon.png - BYTE R
 
Fc9-u8-icon.png - BYTE G
 
Fc9-u8-icon.png - BYTE B
 
Fc9-bool-icon.png - BOOL Redraw
 
Fc9-void-icon.png - VOID Return


ModifyPosition

Fc9-comp-macro.png ModifyPosition
Moves an existing object or Widget to absolute coordinates on the screen. 
Fc9-s16-icon.png - INT X
 
Fc9-s16-icon.png - INT Y
 
Fc9-bool-icon.png - BOOL Relative
0=Absolute Positioning, 1=Relative Positioning 
Fc9-void-icon.png - VOID Return


ModifyScale

Fc9-comp-macro.png ModifyScale
Changes the width and height of the selected Object or Widget. 
Fc9-u16-icon.png - UINT Width
 
Fc9-u16-icon.png - UINT Height
 
Fc9-void-icon.png - VOID Return


SetTextFloat

Fc9-comp-macro.png SetTextFloat
Draws a floating point value with optional units onto an object or Widget location. 
Fc9-f32-icon.png - FLOAT Number
 
Fc9-u8-icon.png - BYTE NumDP
Number of decimal points to display 
Fc9-string-icon.png - STRING Unit
Optional unit string to add after the numeric value. e.g. "g" or "s" 
Fc9-void-icon.png - VOID Return


SetTextLabel

Fc9-comp-macro.png SetTextLabel
Draws a string onto an object or Widget location. 
Fc9-string-icon.png - STRING Text
Text string to set as the label 
Fc9-void-icon.png - VOID Return


SetTextNumber

Fc9-comp-macro.png SetTextNumber
Draws an integer numerical value with optional units onto an object or Widget location. 
Fc9-s16-icon.png - INT Number
 
Fc9-string-icon.png - STRING Unit
Unit string to add after the numeric value. e.g. "g" or "s" 
Fc9-void-icon.png - VOID Return


Property reference

Fc9-prop-icon.png Properties
Fc9-conn-icon.png Appearance
Fc9-type-21-icon.png Line Width
Width of the outer border line in pixels 
Fc9-type-1-icon.png Line Colour
The colour of the outer border line 
Fc9-type-1-icon.png Fill Colour
The fill colour of the shape 
Fc9-conn-icon.png Touch
Fc9-type-7-icon.png Touchable
Determines if the display creator defined area responds to touches Touch is detected by using the DisplayManager::CheckForTouch macro with the X,Y coordinates of a touch 
Fc9-conn-icon.png Text
Fc9-type-10-icon.png Text
Optional default text to add to the inside of the shape 
Fc9-type-16-icon.png Font
GLCD font to use 
Fc9-type-16-icon.png Horizontal Alignment
Horizontal alignment of the text label inside the shape 
Fc9-type-16-icon.png Vertical Alignment
Vertical alignment of the text label inside the shape 
Fc9-type-1-icon.png Text Colour
The colour of the text 

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DC_Ellipse.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_DC_Ellipse.fcfx