@FunctionalInterface
public interface RegionPainter2D<T>
double
version of RegionPainter.RegionPainter
Modifier and Type | Method and Description |
---|---|
void |
paint(java.awt.Graphics2D g,
double x,
double y,
double width,
double height,
T object)
Paints on the given
Graphics2D object. |
void paint(java.awt.Graphics2D g, double x, double y, double width, double height, T object)
Graphics2D
object.g
- the Graphics2D
object to render tox
- X position of the area to painty
- Y position of the area to paintwidth
- width of the area to paintheight
- height of the area to paintobject
- an optional configuration parameter