Interface Viewport

    • Method Detail

      • hasClip

        boolean hasClip()
        Returns true if this area will clip overflowing content.
        Returns:
        true if the overflow trait has the value "hidden", "scroll" or "error-if-overflow"
      • getClipRectangle

        java.awt.Rectangle getClipRectangle()
        Returns the clipping rectangle of this viewport area.
        Returns:
        the clipping rectangle expressed in the viewport's coordinate system, or null if clipping is disabled