public class HSLFPictureShape extends HSLFSimpleShape implements PictureShape<HSLFShape,HSLFTextParagraph>
DEFAULT_LINE_WIDTH| Constructor and Description |
|---|
HSLFPictureShape(HSLFPictureData data)
Create a new
Picture |
HSLFPictureShape(HSLFPictureData data,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new
Picture |
| Modifier and Type | Method and Description |
|---|---|
Insets |
getClipping()
Returns the clipping values as percent ratio relatively to the image size.
|
HSLFPictureData |
getPictureData()
Returns the picture data for this picture.
|
int |
getPictureIndex()
Returns index associated with this picture.
|
String |
getPictureName()
Name of this picture.
|
ShapeType |
getShapeType() |
void |
setPictureName(String name)
Name of this picture.
|
createHyperlink, getAdjustValue, getFillColor, getGeometry, getHyperlink, getLineBackgroundColor, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getPlaceholder, getPlaceholderDetails, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, isPlaceholder, setFillColor, setLineBackgroundColor, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setPlaceholder, setStrokeStyledraw, getAnchor, getClientDataRecord, getEscherChild, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType, setSheetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getStrokeStyle, isPlaceholder, setFillColor, setPlaceholder, setShapeType, setStrokeStyledraw, getAnchor, getParent, getShapeId, getShapeName, getSheetgetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationpublic HSLFPictureShape(HSLFPictureData data)
Picturedata - the picture datapublic HSLFPictureShape(HSLFPictureData data, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Picturedata - the picture dataparent - the parent shapepublic int getPictureIndex()
public HSLFPictureData getPictureData()
PictureShapegetPictureData in interface PictureShape<HSLFShape,HSLFTextParagraph>public String getPictureName()
public void setPictureName(String name)
name - of this picturepublic Insets getClipping()
PictureShapegetClipping in interface PictureShape<HSLFShape,HSLFTextParagraph>public ShapeType getShapeType()
getShapeType in interface SimpleShape<HSLFShape,HSLFTextParagraph>getShapeType in class HSLFShapeCopyright © 2010 - 2020 Adobe. All Rights Reserved