state.cursorRight(w);
/** * Moves the cursor outwards by the specified number of units. * * @param units the units. * @param edge the edge. */ public void moveCursor(double units, RectangleEdge edge) { if (edge == RectangleEdge.TOP) { cursorUp(units); } else if (edge == RectangleEdge.BOTTOM) { cursorDown(units); } else if (edge == RectangleEdge.LEFT) { cursorLeft(units); } else if (edge == RectangleEdge.RIGHT) { cursorRight(units); } }
/** * Moves the cursor outwards by the specified number of units. * * @param units the units. * @param edge the edge. */ public void moveCursor(double units, RectangleEdge edge) { if (edge == RectangleEdge.TOP) { cursorUp(units); } else if (edge == RectangleEdge.BOTTOM) { cursorDown(units); } else if (edge == RectangleEdge.LEFT) { cursorLeft(units); } else if (edge == RectangleEdge.RIGHT) { cursorRight(units); } }
g2.draw(line); state.cursorRight(ol);
g2.draw(line); state.cursorRight(ol);
(float) labely, TextAnchor.CENTER, getLabelAngle() + Math.PI / 2.0, TextAnchor.CENTER); state.cursorRight(insets.getLeft() + labelBounds.getWidth() + insets.getRight());
state.cursorRight(w);
state.cursorRight(w);
(float) labely, anchor, getLabelAngle() + Math.PI / 2.0, anchor); state.cursorRight(insets.getLeft() + labelBounds.getWidth() + insets.getRight());
(float) labely, anchor, getLabelAngle() + Math.PI / 2.0, anchor); state.cursorRight(insets.getLeft() + labelBounds.getWidth() + insets.getRight());
used = findMaximumTickLabelWidth(ticks, g2, plotArea, isVerticalTickLabels()); state.cursorRight(used);
used = findMaximumTickLabelWidth(ticks, g2, plotArea, isVerticalTickLabels()); state.cursorRight(used); } else if (edge == RectangleEdge.TOP) { used = findMaximumTickLabelHeight(ticks, g2, plotArea,
state.cursorRight(w);