Interface Paint
- All Known Implementing Classes:
LinearGradientPaint, MultipleGradientPaint
public interface Paint
An interface for providing custom painting such as gradients.
-
Method Summary
Modifier and TypeMethodDescriptionvoidPaints in the given bounds.voidpaint(Graphics g, Rectangle2D bounds) Paints in the given bounds.
-
Method Details
-
paint
Paints in the given bounds.
Parameters
-
g: Graphics context to paint in. -
bounds: Bounds to paint in. User coordinates.
-
-
paint
Paints in the given bounds.
Parameters
-
g: Graphics context to paint in. -
x: x coordinate. User space. -
y: y coordinate. USer space. -
w: width. User space. -
h: Hight. User space.
-
-