Jump to content

Component: Marking control (Misc)

From Flowcode Help
Revision as of 16:21, 7 January 2022 by Wiki bot (talk | contribs) (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix Ltd |- | width="20%" style="color:gray;" | Version | 1.1 |- | width="20%" style="color:gray...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix Ltd
Version 1.1
Category Misc


Marking control component

A control to draw markings on any component

Component Pack

MODELS

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Downloadable macro reference

DrawStripY
Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()  
- INT OffsetX
Offset to add to X 
- VOID Return


SetTarget
Sets the target image to draw on 
- ULONG Target
 
- INT AreaX
The X area to draw on 
- INT AreaY
The Y area to draw on 
- BOOL AutoCreate
Set true to auto-create the graphic 
- VOID Return


DrawStripX
Draw the marks on the readout Set up the position and range with SetRange() and SetSpan()  
- INT OffsetY
Offset to add to Y 
- VOID Return


BoundRange
Bounds a range to be between RangeStart and RangeEnd 
- FLOAT Range
The unbounded range 
- FLOAT Return


DrawArc
Draw the marks on the readout Set up the position and range with SetRange() and SetArc()  
- FLOAT Radius
Scale of the radius to draw at 
- VOID Return


SetAngles
Sets the min-max angles to draw on the dial Used for setting the needle Defaults are 135 and -45 
- INT Start
 
- INT End
 
- VOID Return


SetShow
Decides on the presentation of the dial 
- BOOL ShowNumbers
True to show numbers on the dial, else false 
- BOOL ShowMarks
Show marks 
- VOID Return


CalcScaleRange
Decide the range value for a 0->1 value Returned value may be out of range  
- FLOAT ScaledRange
 
- FLOAT Return


CalcAngRange
Decide the range value for an angle Returned value may be out of range  
- FLOAT AngleDegrees
 
- FLOAT Return


CalcScale
Decide the scale (0->1) to display at given a range value 
- FLOAT RangeVal
 
- FLOAT Return


SetMarks
Decides on the presentation of the dial 
- INT Marks
Number of marks on the dial 
- INT Subs
Number of marks before a 'main' mark - can be zero 
- VOID Return


ClearArea
Clears the draw area 
- VOID Return


SetRange
Sets the min-max range to draw on the dial Used for setting the needle 
- INT Start
 
- INT End
 
- VOID Return


SetGaps
Sets the min-max of the span to draw on the X/Y marks Defaults are 0 and 1 
- INT Start
 
- INT End
 
- VOID Return


SetJustify
 
- BOOL RAlign
True for right/top/outer alignment 
- VOID Return


CalcAngle
Decide the angle to display at given a range value 
- FLOAT RangeVal
 
- FLOAT Return



Property reference

Properties
Connections
Simulations