Ejemplo n.º 1
0
 /**
  * Ruler drawing method.
  *
  * @param drawingTools the {@link DrawingTools} of the canvas where the ruler will be drawn.
  * @param model the {@link RulerModel} of the drawn ruler.
  * @return the {@link RulerDrawingResult} give information about how the ruler have been drawn.
  */
 public RulerDrawingResult draw(DrawingTools drawingTools, RulerModel model) {
   return oneShotRulerDrawer.drawWithResults(drawingTools, model);
 }