Interface Drawable2d

    • Method Detail

      • getBounds

        Bounds2d getBounds()
        Retrieve the bounding rectangle of the object.
        Returns:
        Bounds2d; the bounding box of the object
      • getDimensions

        default int getDimensions()
        Return the number of dimensions.
        Specified by:
        getDimensions in interface Drawable<Point2d>
        Returns:
        int; the number of dimensions