![]() |
|
Contents |
Public Member Functions | |
| CommonBilinear (BufferedImage img, Rectangle2D anchor, AffineTransform t) | |
| Constructs a new CommonSimple.TexturePaintContext works with any raster type. | |
| Raster | getRaster (int dstX, int dstY, int dstWidth, int dstHeight) |
| CommonBilinear | ( | BufferedImage | img, | |
| Rectangle2D | anchor, | |||
| AffineTransform | t | |||
| ) |
Constructs a new CommonSimple.TexturePaintContext works with any raster type.
This paint context uses BILINEAR interpolation.
| img | - the BufferedImage object used as texture | |
| anchor | - the Rectangle2D bounds of texture piece to be painted | |
| t | - the AffineTransform applied to texture painting |
| Raster getRaster | ( | int | dstX, | |
| int | dstY, | |||
| int | dstWidth, | |||
| int | dstHeight | |||
| ) |
Reimplemented from TexturePaintContext.