Packages

 

com.aspose.cad

Class ObjectWithBounds



  • public abstract class ObjectWithBounds
    extends Object

    The object having bounds.

    • Constructor Detail

      • ObjectWithBounds

        public ObjectWithBounds()
    • Method Detail

      • getBounds

        public abstract RectangleF getBounds()

        Gets the object's bounds.

        Returns:
        The object's bounds.
      • getBounds

        public abstract RectangleF getBounds(Matrix matrix)

        Gets the object's bounds.

        Parameters:
        matrix - The matrix to apply before bounds will be calculated.
        Returns:
        The estimated object's bounds.
      • transform

        public abstract void transform(Matrix transform)

        Applies the specified transformation to the shape.

        Parameters:
        transform - The transformation to apply.