A knob component for choosing a numerical value.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?label:String, ?defaultHandler:Dynamic)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this Knob. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
label | String containing the label for this component. |
defaultHandler | The event handling function to handle the default event for this component (change in this case). |
Variables
mouseRange:Float
Sets / gets the number of pixels the mouse needs to move to make the value of the knob go from min to max.