Top Methods
org.apache.poi.sl.usermodel

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

extends SimpleShape<S extends Shape<S, P>, P extends TextParagraph<S, P, ? extends TextRun>>
Imports
java.awt.Insets

Method Summary

Modifier and TypeMethod and Description
public default PictureData

Returns:

an alternative picture data
getAlternativePictureData
()

Returns an alternative picture data, e.g. an embedded SVG image

public Insets

Returns:

the clipping rectangle, which is given in percent in relation to the image width/height
getClipping
()

Returns the clipping values as percent ratio relatively to the image size.

public PictureData

Returns:

the picture data for this picture.
getPictureData
()

Returns the picture data for this picture.

Inherited from org.apache.poi.sl.usermodel.SimpleShape:
createHyperlinkgetFillColorgetFillStylegetGeometrygetHyperlinkgetLineDecorationgetPlaceholdergetPlaceholderDetailsgetShadowgetShapeTypegetStrokeStyleisPlaceholdersetFillColorsetPlaceholdersetShapeTypesetStrokeStyle

Method Detail

getAlternativePictureDataback to summary
public default PictureData getAlternativePictureData()

Returns an alternative picture data, e.g. an embedded SVG image

Returns:PictureData

an alternative picture data

Since
POI 4.1.0
getClippingback to summary
public 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:Insets

the clipping rectangle, which is given in percent in relation to the image width/height

getPictureDataback to summary
public PictureData getPictureData()

Returns the picture data for this picture.

Returns:PictureData

the picture data for this picture.