LEADTOOLS JavaScript (Leadtools.Annotations.Rendering)

DrawTickMarks 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 tick marks.
The unit of the ruler.
The stroke to use when drawing the ruler.
The fixed state of the owner object.
Draws the tick marks portion of the ruler.
Syntax
 function Leadtools.Annotations.Rendering.AnnPolyRulerObjectRenderer.drawTickMarks( 
   mapper ,
   startPoint ,
   endPoint ,
   tickMarkLength ,
   unit ,
   stroke ,
   operations 
)

Parameters

ParameterTypeDescription
mapperAnnContainerMapperThe mapper to use for rendering.
startPointLeadPointDThe first (start) point of the ruler.
endPointLeadPointDThe second (stop) point of the ruler.
tickMarkLengthLeadLengthDThe length of the tick marks.
unitAnnUnitThe unit of the ruler.
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 tick marks 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.