LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

DrawGauge Method (AnnPolyRulerObjectRenderer)

Show in webframe
The mapper to use for rendering.
The first (start) point of the ruler.
The second (stop) point of the ruler.
The length of the gauge.
The stroke to use when drawing the ruler.
The fixed state of the owner object.
Draws the gauge portion of the ruler.
Syntax
 function Leadtools.Annotations.Rendering.AnnPolyRulerObjectRenderer.drawGauge( 
   mapper ,
   startPoint ,
   endPoint ,
   gaugeLength ,
   stroke ,
   operations 
)

Parameters

ParameterTypeDescription
mapperAnnContainerMapperThe mapper to use for rendering.
startPointLeadPointDThe first (start) point of the ruler.
endPointLeadPointDThe second (stop) point of the ruler.
gaugeLengthLeadLengthDThe length of the gauge.
strokeAnnStrokeThe stroke to use when drawing the ruler.
operationsAnnFixedStateOperationsThe fixed state of the owner object.
Remarks

This method is called by the renderer to draw the gauge of the ruler. Derived classes can override this method to provide their own implementation.

See Also

Reference

AnnPolyRulerObjectRenderer Object
AnnPolyRulerObjectRenderer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.