Modifier and Type | Method and Description |
---|---|
void |
blendOffscreen(int id,
float src_x,
float src_y,
float src_width,
float src_height,
float dest_x,
float dest_y,
float dest_width,
float dest_height,
Color blend_color)
Requests drawing of an offscreen surface (usually a bitmap).
|
void |
endDraw()
Indicates that a drawing session ends.
|
void |
startDraw(int x,
int y,
int width,
int height)
Indicates that a drawing session starts, on a given area.
|
createPath, drawLine, drawObject, drawPath, drawRectangle, drawText, endGroup, endItem, getTransform, setFillColor, setFillRule, setFontProperties, setStrokeColor, setStrokeDashArray, setStrokeDashOffset, setStrokeLineCap, setStrokeLineJoin, setStrokeMiterLimit, setStrokeWidth, setTransform, startGroup, startItem
void startDraw(int x, int y, int width, int height)
x
- the x coordinate of the top left point of the drawing area.y
- the y coordinate of the top left point of the drawing area.width
- the width of the drawing area.height
- the height of the drawing area.void endDraw()
void blendOffscreen(int id, float src_x, float src_y, float src_width, float src_height, float dest_x, float dest_y, float dest_width, float dest_height, Color blend_color)
id
- the identifier of the surface.src_x
- minimal x coordinate of the offscreen surface.src_y
- minimal y coordinate of the offscreen surface.src_width
- maximal x coordinate of the offscreen surface.src_height
- maximal y coordinate of the offscreen surface.dest_x
- minimal x coordinate where to draw this offscreen surface.dest_y
- minimal y coordinate where to draw this offscreen surface.dest_width
- maximal x coordinate where to draw this offscreen surface.dest_height
- maximal y coordinate where to draw this offscreen surface.blend_color
- The color used for the blending operation