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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.