Packageorg.beeant.controls.GraphicElement
Classpublic class VRulerGraphicElement
InheritanceVRulerGraphicElement Inheritance spark.primitives.supportClasses.FilledElement

Draws a Vertical Tick Lines in the Inch Ruler



Public Properties
 PropertyDefined By
  divisions : Number
Number of divisions
VRulerGraphicElement
  strokeWeight : int
Stroke weights
VRulerGraphicElement
  subdivisions : int
Number of subdivision
VRulerGraphicElement
  subdivisionToDivisionLineHeightRatio : Number
Ratio of line height, subdivision to division
VRulerGraphicElement
Public Methods
 MethodDefined By
  
VRulerGraphicElement
  
mouseMoveHandle(yValue:Number):void
pointer shows the mouse location in the Ruler Element
VRulerGraphicElement
Protected Methods
 MethodDefined By
  
draw(g:Graphics):void
[override] Draw the ruler TODO: logic to actually reuse commands and data if nothing has changed
VRulerGraphicElement
Property Detail
divisionsproperty
divisions:Number

Number of divisions


Implementation
    public function get divisions():Number
    public function set divisions(value:Number):void
strokeWeightproperty 
strokeWeight:int

Stroke weights


Implementation
    public function get strokeWeight():int
    public function set strokeWeight(value:int):void
subdivisionsproperty 
subdivisions:int

Number of subdivision


Implementation
    public function get subdivisions():int
    public function set subdivisions(value:int):void
subdivisionToDivisionLineHeightRatioproperty 
subdivisionToDivisionLineHeightRatio:Number

Ratio of line height, subdivision to division


Implementation
    public function get subdivisionToDivisionLineHeightRatio():Number
    public function set subdivisionToDivisionLineHeightRatio(value:Number):void
Constructor Detail
VRulerGraphicElement()Constructor
public function VRulerGraphicElement()



Method Detail
draw()method
override protected function draw(g:Graphics):void

Draw the ruler TODO: logic to actually reuse commands and data if nothing has changed

Parameters

g:Graphics — width of ruler

mouseMoveHandle()method 
public function mouseMoveHandle(yValue:Number):void

pointer shows the mouse location in the Ruler Element

Parameters

yValue:Number