drawTickMarks Method

Summary

Draws the tick marks portion of the ruler.

Syntax
TypeScript
JavaScript
AnnSvgPolyRulerObjectRenderer.prototype.drawTickMarks = function( 
   mapper, 
   startPoint, 
   endPoint, 
   tickMarkLength, 
   unit, 
   stroke, 
   operations 
) 

Parameters

mapper

The mapper to use for rendering.

startPoint

The first (start) point of the ruler.

endPoint

The second (stop) point of the ruler.

tickMarkLength

The length of the tick marks.

unit

The unit of the ruler.

stroke

The stroke to use when drawing the ruler.

operations

The 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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly