code: public Point getAnchorPoint(int width, int height) {
          return new Point((int) (relativeX * width + offsetX), (int) (relativeY * height + offsetY));
      }
docs: Retrieves a point on an object of the specified size.
  
  @param width  Width of the object to get the anchor point for.
  @param height Height of the object to get the anchor point for.
  
  @return Anchor point.
  
  @see #getAnchorPoint(Dimension)