RendererBasepublic abstract class RendererBase extends LineSink
Fields Summary |
---|
public static final int | DEFAULT_SUBPIXEL_LG_POSITIONS_X | public static final int | DEFAULT_SUBPIXEL_LG_POSITIONS_Y | public static final int | WIND_EVEN_ODD | public static final int | WIND_NON_ZERO | public static final int | COMPOSITE_CLEAR | public static final int | COMPOSITE_SRC | public static final int | COMPOSITE_SRC_OVER | public static final int | TYPE_INT_RGBConstant indicating 8/8/8 RGB pixel data stored in an
int array. | public static final int | TYPE_INT_ARGBConstant indicating 8/8/8/8 ARGB pixel data stored in an
int array. | public static final int | TYPE_INT_ARGB_PREConstant indicating 8/8/8/8 ARGB alpha-premultiplied pixel data stored
in a int array. | public static final int | TYPE_USHORT_565_RGBConstant indicating 5/6/5 RGB pixel data stored in an
short array. | public static final int | TYPE_BYTE_GRAYConstant indicating 8 bit grayscale pixel data stored in a
byte array. | protected int | imageType |
Constructors Summary |
---|
public RendererBase(int imageType)
this.imageType = imageType;
|
Methods Summary |
---|
public abstract void | beginRendering(int boundsX, int boundsY, int boundsWidth, int boundsHeight, int windingRule)
| public abstract void | clearRect(int x, int y, int w, int h)
| public abstract void | close()
| public void | end()
// Do nothing
| public abstract void | endRendering()
| public abstract void | getBoundingBox(int[] bbox)
| public void | getImageData(java.lang.Object data, int offset, int scanlineStride)
// do nothing
| public int | getImageType()
return imageType;
| public abstract int | getSubpixelLgPositionsX()
| public abstract int | getSubpixelLgPositionsY()
| public void | lineJoin()
// Do nothing
| public abstract void | lineTo(int x1, int y1)
| public abstract void | moveTo(int x0, int y0)
| public abstract void | setAntialiasing(int subpixelLgPositionsX, int subpixelLgPositionsY)
| public abstract void | setColor(int red, int green, int blue, int alpha)
| public abstract void | setPaint(Paint paint)
|
|