|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.documents.contents.entities.Entity it.stefanochizzolini.clown.documents.contents.entities.Image
public abstract class Image
Abstract image object [PDF:1.6:4.8].
Constructor Summary | |
---|---|
protected |
Image(IInputStream stream)
|
Method Summary | |
---|---|
static Image |
get(File file)
|
static Image |
get(IInputStream stream)
|
static Image |
get(String path)
|
int |
getBitsPerComponent()
Gets the number of bits per color component [PDF:1.6:4.8.2]. |
int |
getHeight()
Gets the height of the image in samples [PDF:1.6:4.8.2]. |
protected IInputStream |
getStream()
Gets the underlying stream. |
int |
getWidth()
Gets the width of the image in samples [PDF:1.6:4.8.2]. |
protected void |
setBitsPerComponent(int value)
Sets the number of bits per color component [PDF:1.6:4.8.2]. |
protected void |
setHeight(int value)
Sets the height of the image in samples [PDF:1.6:4.8.2]. |
protected void |
setWidth(int value)
Sets the width of the image in samples [PDF:1.6:4.8.2]. |
Methods inherited from class it.stefanochizzolini.clown.documents.contents.entities.Entity |
---|
toInlineObject, toXObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Image(IInputStream stream)
Method Detail |
---|
public static Image get(String path)
public static Image get(File file)
public static Image get(IInputStream stream)
public int getBitsPerComponent()
public int getHeight()
public int getWidth()
protected IInputStream getStream()
protected void setBitsPerComponent(int value)
protected void setHeight(int value)
protected void setWidth(int value)
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |