drawGauge Method

Summary

Draws the gauge portion of the ruler.

Syntax

JavaScript Syntax
AnnSvgPolyRulerObjectRenderer.prototype.drawGauge = function(mapper, startPoint, endPoint, gaugeLength, stroke, operations) 
TypeScript Syntax
drawGauge(mapper: AnnContainerMapper, startPoint: LeadPointD, endPoint: LeadPointD, gaugeLength: LeadLengthD, stroke: AnnStroke, operations: AnnFixedStateOperations): void; // protected 

Parameters

mapper

The mapper to use for rendering.

startPoint

The first (start) point of the ruler.

endPoint

The second (stop) point of the ruler.

gaugeLength

The length of the gauge.

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 gauge of the ruler. Derived classes can override this method to provide their own implementation.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.JavaScript Assembly