coldfusion.image
Interface Image


public interface Image


Method Summary
 void addBorder(int arg0, String arg1, String arg2)
           
 void blur(int blurRadius)
           
 void brighten()
           
 void clearRect(int x, int y, int width, int height)
           
 Image copyArea(int srcX, int srcY, int width, int height)
           
 Image copyArea(int srcX, int srcY, int width, int height, int destX, int destY)
           
 void crop(float x, float y, float width, float height)
           
 void draw3DRect(int x, int y, int width, int height, boolean raised, boolean filled)
           
 void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle, boolean filled)
           
 void drawCubicCurve(double x1, double y1, double ctrlx1, double ctrly1, double ctrlx2, double ctrly2, double x2, double y2)
           
 void drawLine(int x1, int y1, int x2, int y2)
           
 void drawLines(int[] xcoords, int[] ycoords, boolean isPolygon, boolean filled)
           
 void drawOval(int x, int y, int width, int height, boolean filled)
           
 void drawPoint(int x, int y)
           
 void drawQuadraticCurve(double x1, double y1, double ctrlx, double ctrly, double x2, double y2)
           
 void drawRect(int x, int y, int width, int height, boolean filled)
           
 void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight, boolean filled)
           
 void drawString(String arg0, int arg1, int arg2, Struct arg3)
           
 void flip(String transpose)
           
 String getBase64String(String formatName)
           
 Color getColor(String strColor)
           
 Graphics2D getCurrentGraphics()
           
 BufferedImage getCurrentImage()
           
 Struct getExifMetadata(javax.servlet.jsp.PageContext arg0)
           
 String getExifTag(String tagname, javax.servlet.jsp.PageContext pageContext)
           
 int getHeight()
           
 byte[] getImageBytes(String arg0)
           
 Struct getIptcMetadata(javax.servlet.jsp.PageContext arg0)
           
 String getIptcTag(String tagname, javax.servlet.jsp.PageContext pageContext)
           
 String getSource()
           
 int getWidth()
           
 void grayscale()
           
 Struct info()
           
 void initializeMetadata(javax.servlet.jsp.PageContext pc)
           
 void invert()
           
 void overlay(Image img)
           
 void paste(Image img2, int x, int y)
           
 void readBase64(String arg0)
           
 void resize(String width, String height, String interpolation)
           
 void resize(String arg0, String arg1, String arg2, double arg3)
           
 void rotate(float arg0, float arg1, float arg2, String arg3)
           
 void rotateAxis(double theta)
           
 void rotateAxis(double theta, double x, double y)
           
 void scaleToFit(int fitSize)
           
 void scaleToFit(String fitWidth, String fitHeight, String interpolation)
           
 void scaleToFit(String arg0, String arg1, String arg2, double arg3)
           
 void setAntiAliasing(String value)
           
 void setBackground(String color)
           
 void setColor(String color)
           
 void setDrawingStroke(float width, int cap, int joins, float miterlimit, float[] dash, float dash_phase)
           
 void setDrawingStroke(Struct arg0)
           
 void setRenderingHint(RenderingHints.Key hintKey, Object hintValue)
           
 void setTranparency(double percent)
           
 void setXorMode(String color)
           
 void sharpen(float gain)
           
 void sharpenEdge()
           
 void shear(float arg0, String arg1, String arg2)
           
 void shearAxis(double shx, double shy)
           
 void translate(int arg0, int arg1, String arg2)
           
 void translateAxis(int x, int y)
           
 void write(String arg0, float arg1)
           
 void writeBase64(String arg0, String arg1, boolean arg2)
           
 

Method Detail

addBorder

void addBorder(int arg0,
               String arg1,
               String arg2)

blur

void blur(int blurRadius)

brighten

void brighten()

clearRect

void clearRect(int x,
               int y,
               int width,
               int height)

copyArea

Image copyArea(int srcX,
               int srcY,
               int width,
               int height,
               int destX,
               int destY)

copyArea

Image copyArea(int srcX,
               int srcY,
               int width,
               int height)

crop

void crop(float x,
          float y,
          float width,
          float height)

draw3DRect

void draw3DRect(int x,
                int y,
                int width,
                int height,
                boolean raised,
                boolean filled)

drawArc

void drawArc(int x,
             int y,
             int width,
             int height,
             int startAngle,
             int arcAngle,
             boolean filled)

drawCubicCurve

void drawCubicCurve(double x1,
                    double y1,
                    double ctrlx1,
                    double ctrly1,
                    double ctrlx2,
                    double ctrly2,
                    double x2,
                    double y2)

drawLine

void drawLine(int x1,
              int y1,
              int x2,
              int y2)

drawLines

void drawLines(int[] xcoords,
               int[] ycoords,
               boolean isPolygon,
               boolean filled)

drawOval

void drawOval(int x,
              int y,
              int width,
              int height,
              boolean filled)

drawPoint

void drawPoint(int x,
               int y)

drawQuadraticCurve

void drawQuadraticCurve(double x1,
                        double y1,
                        double ctrlx,
                        double ctrly,
                        double x2,
                        double y2)

drawRect

void drawRect(int x,
              int y,
              int width,
              int height,
              boolean filled)

drawRoundRect

void drawRoundRect(int x,
                   int y,
                   int width,
                   int height,
                   int arcWidth,
                   int arcHeight,
                   boolean filled)

drawString

void drawString(String arg0,
                int arg1,
                int arg2,
                Struct arg3)

flip

void flip(String transpose)

getBase64String

String getBase64String(String formatName)

getColor

Color getColor(String strColor)

getCurrentGraphics

Graphics2D getCurrentGraphics()

getCurrentImage

BufferedImage getCurrentImage()

getExifMetadata

Struct getExifMetadata(javax.servlet.jsp.PageContext arg0)

getExifTag

String getExifTag(String tagname,
                  javax.servlet.jsp.PageContext pageContext)

getHeight

int getHeight()

getImageBytes

byte[] getImageBytes(String arg0)

getIptcMetadata

Struct getIptcMetadata(javax.servlet.jsp.PageContext arg0)

getIptcTag

String getIptcTag(String tagname,
                  javax.servlet.jsp.PageContext pageContext)

getSource

String getSource()

getWidth

int getWidth()

grayscale

void grayscale()

info

Struct info()

initializeMetadata

void initializeMetadata(javax.servlet.jsp.PageContext pc)

invert

void invert()

overlay

void overlay(Image img)

paste

void paste(Image img2,
           int x,
           int y)

readBase64

void readBase64(String arg0)

resize

void resize(String arg0,
            String arg1,
            String arg2,
            double arg3)

resize

void resize(String width,
            String height,
            String interpolation)

rotate

void rotate(float arg0,
            float arg1,
            float arg2,
            String arg3)

rotateAxis

void rotateAxis(double theta,
                double x,
                double y)

rotateAxis

void rotateAxis(double theta)

scaleToFit

void scaleToFit(int fitSize)

scaleToFit

void scaleToFit(String arg0,
                String arg1,
                String arg2,
                double arg3)

scaleToFit

void scaleToFit(String fitWidth,
                String fitHeight,
                String interpolation)

setAntiAliasing

void setAntiAliasing(String value)

setBackground

void setBackground(String color)

setColor

void setColor(String color)

setDrawingStroke

void setDrawingStroke(float width,
                      int cap,
                      int joins,
                      float miterlimit,
                      float[] dash,
                      float dash_phase)

setDrawingStroke

void setDrawingStroke(Struct arg0)

setRenderingHint

void setRenderingHint(RenderingHints.Key hintKey,
                      Object hintValue)

setTranparency

void setTranparency(double percent)

setXorMode

void setXorMode(String color)

sharpen

void sharpen(float gain)

sharpenEdge

void sharpenEdge()

shear

void shear(float arg0,
           String arg1,
           String arg2)

shearAxis

void shearAxis(double shx,
               double shy)

translate

void translate(int arg0,
               int arg1,
               String arg2)

translateAxis

void translateAxis(int x,
                   int y)

write

void write(String arg0,
           float arg1)

writeBase64

void writeBase64(String arg0,
                 String arg1,
                 boolean arg2)


Copyright © 2012 Railo