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, UNDEFINED
Fields 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 TypeMethodDescriptionint
int
int
getDPIX()
int
getDPIY()
float
float
float
float
float
float
float
float
float
float
int[]
float
float
boolean
boolean
void
scaleAbsolute
(float width, float height) void
scaleAbsoluteHeight
(float height) void
scaleAbsoluteWidth
(float width) void
scalePercent
(float percentage) void
scalePercent
(float width, float height) void
scaleToFit
(float width, float height) void
setAlignment
(int alignment) void
setDeflated
(boolean deflated) void
setDPI
(int x, int y) void
setIndentationLeft
(float indent) void
setIndentationRight
(float indent) void
setInitialRotation
(float degrees) void
setInverted
(boolean inverted) void
setRotation
(float p1) void
setRotationDegrees
(float degrees) void
setSpacingAfter
(float spacing) void
setSpacingBefore
(float spacing) void
setTransparency
(int[] transparency) void
setWidthPercentage
(float width) void
setXYRatio
(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)
-