Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

com.aspose.imaging

Class ObjectWithBounds

    • 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.
      • getBounds

        public abstract RectangleF getBounds(Matrix matrix,
                                             Pen pen)

        Gets the object's bounds.

        Parameters:
        matrix - The matrix to apply before bounds will be calculated.
        pen - The pen to use for object. This can influence the object's bounds size.
        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.