public interface IPointImage
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g,
int x,
int y,
Rect destArea,
double xdpi,
double ydpi,
int options)
Draw this point image to the Graphics at the specified location, assuming that the Graphics
is drawing on a surface with the specified x and y dpis.
|
void |
getPixels(PixelBuffer dest,
int x,
int y,
Rect destArea,
double xdpi,
double ydpi,
int options)
The PixelBuffer size must be at least as big as the destArea.
|
double |
getPointHeight()
Return the height of the PointImage in points.
|
double |
getPointWidth()
Return the width of the PointImage in points.
|
double getPointWidth()
double getPointHeight()
void draw(Graphics g, int x, int y, Rect destArea, double xdpi, double ydpi, int options)
g
- the Grahics to draw on.x
- the x pixel location on the Graphics that represents the top left of the PointImage.y
- the y pixel location on the Graphics that represents the top left of the PointImage.destArea
- the destination area of the Graphics that is to be updated.xdpi
- the xdpi of the Graphics.ydpi
- the ydpi of the Graphics.options
- options for the draw. None are defined yet.void getPixels(PixelBuffer dest, int x, int y, Rect destArea, double xdpi, double ydpi, int options)
PixelBuffer
- destx
- y
- destArea
- xdpi
- ydpi
- options
-