|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.anji.imaging.JMagickSurface
public class JMagickSurface
JMagickSurface
Field Summary |
---|
Fields inherited from interface com.anji.imaging.Surface |
---|
SURFACE_HEIGHT_KEY, SURFACE_WIDTH_KEY, TRANSFORMER_CLASS_KEY |
Constructor Summary | |
---|---|
JMagickSurface()
default ctor |
Method Summary | |
---|---|
int[] |
getData()
|
int |
getHeight()
|
int |
getValue(int x,
int y)
|
int |
getWidth()
|
void |
init(Properties props)
|
void |
setImage(java.io.File aFile)
Set source data of image. |
int[] |
transform(TransformParameters parms)
transform image via translate, rotate, scale, crop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JMagickSurface()
Method Detail |
---|
public void setImage(java.io.File aFile) throws java.io.IOException
Surface
setImage
in interface Surface
java.io.IOException
Surface.setImage(java.io.File)
public int[] transform(TransformParameters parms)
Surface
transform
in interface Surface
Surface.transform(com.anji.imaging.TransformParameters)
public int[] getData()
getData
in interface Surface
Surface.getData()
public int getWidth()
getWidth
in interface Surface
Surface.getWidth()
public int getHeight()
getHeight
in interface Surface
Surface.getHeight()
public int getValue(int x, int y)
getValue
in interface Surface
Surface.getValue(int, int)
public void init(Properties props) throws java.lang.Exception
init
in interface Configurable
props
- configuration parameters
java.lang.Exception
Configurable.init(com.anji.util.Properties)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |