Class RotationControls.NERotationHandle

All Implemented Interfaces:
IHandle
Enclosing class:
RotationControls

protected class RotationControls.NERotationHandle extends RotationControls.AbstractRotationHandle
  • Constructor Details

    • NERotationHandle

      public NERotationHandle()
    • NERotationHandle

      public NERotationHandle(ShapePaint normal, ShapePaint hover)
  • Method Details

    • newDrawShape

      protected Shape newDrawShape()
      Description copied from class: AbstractShapeHandle
      Called to create a new draw shape. Expectation is that a subclass will override this to provide a meaningful shape. Anchor point is at (0,0). Default shape is a 10x10 square anchored in the center.
      Overrides:
      newDrawShape in class AbstractShapeHandle
    • position

      protected void position(Point2D.Double location)
      Description copied from class: AbstractShapeHandle
      Updates the argument location with the correct position of this handle's anchor point. Must be in logical (unzoomed) coordinates.
      Specified by:
      position in class AbstractShapeHandle