drawTickMarks Method

Summary

Draws the tick marks on the ruler.

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

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.

rulerDpiX

The DPI of the X-axis ruler. <

rulerDpiY

The DPI of the Y-axis ruler. <

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