ReferencesCommonDrawingDraw.Ruler()RulerAsk a question|Copy page|View as Markdown|More actionsThis page is for NinjaScript.Definition Represents an interface that exposes information regarding a Ruler IDrawingTool. Methods and Properties ParameterDescriptionStartAnchorAn IDrawingTool’s ChartAnchor representing the starting point of the drawing objectEndAnchorAn IDrawingTool’s ChartAnchor representing the end point of the drawing objectTextAnchorAn IDrawingTool’s ChartAnchor representing the text point of the drawing objectTextColorA Brush class representing the fill color of the draw object’s text areaLineColorA Stroke object used to draw the object Examples // Instantiate a Ruler objectRuler myRuler = Draw.Ruler(this, "tag1", true, 4, Low[4], 3, High[3], 1, Low[1]);// Change the object's text color to whitemyRuler.TextColor = Brushes.White;