Component: Scale Arc Template (Advanced Shapes): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 72: | Line 72: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetValue''' | ||
|- | |- | ||
| Line 86: | Line 86: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLabel''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLabel''' | ||
|- | |- | ||
| Line 105: | Line 105: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetRange''' | ||
|- | |- | ||
| Line 129: | Line 129: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetValue''' | ||
|- | |- | ||
Revision as of 14:17, 13 July 2026
| Author | Matrix Ltd |
| Version | 1.2 |
| Category | Advanced Shapes |
Scale Arc Template component
A base component for drawing circular dials. This allows a simple way to create graduated and labelled dials, for example, within meter and rotary control components. Mouse handling is built in for ease of building interactive controls.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Scale_Arc.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Scale_Arc.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetValue
| GetValue | |
| Get the current scale value - this will be the most recent value set using "SetValue", or from the most recent mouse click if the component is in "Control" mode. | |
| Return | |
SetLabel
| SetLabel | |
| Set the label text for the scale | |
| Label | |
| Text to display.as the component label. | |
| Return | |
SetRange
| SetRange | |
| Set the minimum and maximum values of the scale | |
| Minimum | |
| Minimum value for the scale | |
| Maximum | |
| Maximum value for the scale | |
| Return | |
SetValue
| SetValue | |
| Set the pointer to the given value on the scale. Returns the angle required to point at the given value. | |
| Value | |
| The value on the scale to move the pointer to. | |
| Return | |