Interface PictureShape<S extends Shape<S,​P>,​P extends TextParagraph<S,​P,​? extends TextRun>>

    • Method Detail

      • getPictureData

        PictureData getPictureData()
        Returns the picture data for this picture.
        Returns:
        the picture data for this picture.
      • getAlternativePictureData

        default PictureData getAlternativePictureData()
        Returns an alternative picture data, e.g. an embedded SVG image
        Returns:
        an alternative picture data
        Since:
        POI 4.1.0
      • getClipping

        Insets getClipping()
        Returns the clipping values as percent ratio relatively to the image size. The clipping are returned as insets converted/scaled to 100000 (=100%).
        Returns:
        the clipping rectangle, which is given in percent in relation to the image width/height