public class QuercusImage extends ResourceValue
L, NULL_ARGS, NULL_VALUE_ARRAY
Constructor and Description |
---|
QuercusImage(Env env,
Path filename) |
QuercusImage(java.io.InputStream inputStream) |
QuercusImage(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
long |
allocateColor(int r,
int g,
int b) |
void |
fill(java.awt.Shape shape,
int color) |
void |
flood(int x,
int y,
int color) |
void |
flood(int x,
int y,
int color,
int border) |
java.awt.image.BufferedImage |
getBrush() |
java.awt.image.BufferedImage |
getBufferedImage() |
java.awt.Font |
getFont(int fontIndex) |
java.awt.Graphics2D |
getGraphics() |
int |
getHeight() |
int |
getPixel(int x,
int y) |
java.awt.Font |
getTrueTypeFont(Env env,
StringValue fontPath) |
int |
getWidth() |
protected static java.awt.Color |
intToColor(int argb) |
boolean |
isInterlace() |
void |
setBrush(QuercusImage image) |
void |
setInterlace(boolean isInterlace) |
void |
setPixel(int x,
int y,
int color) |
void |
setStyle(Env env,
ArrayValue colors) |
void |
setThickness(int thickness) |
void |
setToFill(boolean isToFill) |
void |
stroke(java.awt.Shape shape,
int color) |
cleanup, close, isResource, printRImpl, serialize, toKey, toString, varDumpImpl
abs, add, add, addOne, append, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, cmp, containsKey, copy, copy, copy, copyArrayItem, copyReturn, copySaveFunArg, copyStringBuilder, copyTree, current, div, div, end, eq, eql, eqValue, findFunction, findQuercusClass, generate, geq, get, get, getArg, getArgTail, getArray, getArray, getBaseIterator, getCallableName, getCalledClass, getClassName, getCount, getCountRecursive, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getIterator, getKeyArray, getKeyIterator, getObject, getObject, getObjectHash, getQuercusClass, getRef, getResourceType, getSize, getStaticFieldValue, getStaticFieldVar, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, getType, getValueArray, getValueIterator, getValueType, getVar, gt, hasCurrent, hashCode, increment, initField, initField, initField, initIncompleteField, isA, isA, isArray, isBinary, isBoolean, isCallable, isDefault, isDouble, isDoubleConvertible, isEmpty, isEmpty, isFieldExists, isFieldInit, isLong, isLongConvertible, isNull, isNumberConvertible, isNumeric, isObject, isset, isset, issetField, issetThisField, isString, isUnicode, isVar, jsonEncode, key, keyExists, length, leq, lshift, lt, mod, mul, mul, neg, next, nextIndex, pop, pos, postdecr, postincr, postincr, predecr, preincr, preincr, prev, print, print, printDepth, printJavaChar, printJavaString, printR, put, put, put, putArray, putField, putField, putField, putObject, putThisField, putThisField, putThisFieldArray, putVar, remove, reset, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, setStaticFieldRef, shuffle, sub_rev, sub, sub, subOne, toArgRef, toArray, toArrayValue, toAutoArray, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBinaryValueMarshalCost, toBoolean, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toCallable, toChar, toCharArrayMarshalCost, toCharMarshalCost, toDebugString, toDouble, toDouble, toDouble, toDouble, toDouble, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaCollection, toJavaDate, toJavaDouble, toJavaEnum, toJavaFloat, toJavaInteger, toJavaList, toJavaLong, toJavaMap, toJavaObject, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toLocalRef, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLong, toLong, toLong, toLong, toLong, toLongMarshalCost, toLongValue, toObject, toRef, toRefValue, toShortMarshalCost, toString, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringMarshalCost, toStringValue, toStringValue, toStringValueMarshalCost, toUnicode, toUnicodeValue, toUnicodeValue, toUnicodeValueMarshalCost, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, unsetThisPrivateField, valuesToArray, varDump, varExport, varExportImpl
public QuercusImage(int width, int height)
public QuercusImage(java.io.InputStream inputStream)
public void setInterlace(boolean isInterlace)
public boolean isInterlace()
public int getPixel(int x, int y)
public void setPixel(int x, int y, int color)
public java.awt.Graphics2D getGraphics()
public java.awt.Font getFont(int fontIndex)
public java.awt.Font getTrueTypeFont(Env env, StringValue fontPath) throws java.awt.FontFormatException, java.io.IOException
java.awt.FontFormatException
java.io.IOException
public java.awt.image.BufferedImage getBufferedImage()
public int getWidth()
public int getHeight()
public void fill(java.awt.Shape shape, int color)
protected static java.awt.Color intToColor(int argb)
public void stroke(java.awt.Shape shape, int color)
public void setThickness(int thickness)
public void setStyle(Env env, ArrayValue colors)
public void setBrush(QuercusImage image)
public java.awt.image.BufferedImage getBrush()
public void setToFill(boolean isToFill)
public long allocateColor(int r, int g, int b)
public void flood(int x, int y, int color)
public void flood(int x, int y, int color, int border)