Package com.storedobject.pdf
Class PDFImage
java.lang.Object
com.storedobject.pdf.PDFRectangle
com.storedobject.pdf.PDFImage
- All Implemented Interfaces:
PDFElement
-
Field Summary
Fields inherited from class com.storedobject.pdf.PDFRectangle
BOTTOM, BOX, LEFT, NO_BORDER, RIGHT, TOP, UNDEFINEDFields inherited from interface com.storedobject.pdf.PDFElement
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, TEXT_DIRECTION_DEFAULT, TEXT_DIRECTION_LTR, TEXT_DIRECTION_NO_BIDI, TEXT_DIRECTION_RTL -
Method Summary
Modifier and TypeMethodDescriptionintintintgetDPIX()intgetDPIY()floatfloatfloatfloatfloatfloatfloatfloatfloatfloatint[]floatfloatbooleanbooleanvoidscaleAbsolute(float width, float height) voidscaleAbsoluteHeight(float height) voidscaleAbsoluteWidth(float width) voidscalePercent(float percentage) voidscalePercent(float width, float height) voidscaleToFit(float width, float height) voidsetAlignment(int alignment) voidsetDeflated(boolean deflated) voidsetDPI(int x, int y) voidsetIndentationLeft(float indent) voidsetIndentationRight(float indent) voidsetInitialRotation(float degrees) voidsetInverted(boolean inverted) voidsetRotation(float p1) voidsetRotationDegrees(float degrees) voidsetSpacingAfter(float spacing) voidsetSpacingBefore(float spacing) voidsetTransparency(int[] transparency) voidsetWidthPercentage(float width) voidsetXYRatio(float ration) Methods inherited from class com.storedobject.pdf.PDFRectangle
getBackgroundColor, getBorder, getBorderColor, getBorderColorBottom, getBorderColorLeft, getBorderColorRight, getBorderColorTop, getBorderWidth, getBorderWidthBottom, getBorderWidthLeft, getBorderWidthRight, getBorderWidthTop, getBottom, getGrayFill, getHeight, getLeft, getRight, getRotation, getTop, getWidth, rotate, setBackgroundColor, setBorder, setBorderColor, setBorderColorBottom, setBorderColorLeft, setBorderColorRight, setBorderColorTop, setBorderWidth, setBorderWidthBottom, setBorderWidthLeft, setBorderWidthRight, setBorderWidthTop, setBottom, setGrayFill, setLeft, setRight, setRotation, setTop
-
Method Details
-
getPlainHeight
public float getPlainHeight() -
getPlainWidth
public float getPlainWidth() -
setSpacingBefore
public void setSpacingBefore(float spacing) -
setSpacingAfter
public void setSpacingAfter(float spacing) -
setWidthPercentage
public void setWidthPercentage(float width) -
getTransparency
public int[] getTransparency() -
getAlignment
public int getAlignment() -
setAlignment
public void setAlignment(int alignment) -
getScaledWidth
public float getScaledWidth() -
getScaledHeight
public float getScaledHeight() -
scaleAbsolute
public void scaleAbsolute(float width, float height) -
scaleAbsoluteWidth
public void scaleAbsoluteWidth(float width) -
scaleAbsoluteHeight
public void scaleAbsoluteHeight(float height) -
scalePercent
public void scalePercent(float percentage) -
scalePercent
public void scalePercent(float width, float height) -
scaleToFit
public void scaleToFit(float width, float height) -
getImageRotation
public float getImageRotation() -
setRotation
public void setRotation(float p1) -
setRotationDegrees
public void setRotationDegrees(float degrees) -
getInitialRotation
public float getInitialRotation() -
setInitialRotation
public void setInitialRotation(float degrees) -
getIndentationLeft
public float getIndentationLeft() -
setIndentationLeft
public void setIndentationLeft(float indent) -
getIndentationRight
public float getIndentationRight() -
setIndentationRight
public void setIndentationRight(float indent) -
getSpacingBefore
public float getSpacingBefore() -
getSpacingAfter
public float getSpacingAfter() -
getWidthPercentage
public float getWidthPercentage() -
isDeflated
public boolean isDeflated() -
setDeflated
public void setDeflated(boolean deflated) -
getDPIX
public int getDPIX() -
getDPIY
public int getDPIY() -
setDPI
public void setDPI(int x, int y) -
getXYRatio
public float getXYRatio() -
setXYRatio
public void setXYRatio(float ration) -
getColorspace
public int getColorspace() -
isInverted
public boolean isInverted() -
setInverted
public void setInverted(boolean inverted) -
setTransparency
public void setTransparency(int[] transparency)
-