Field Detail

shape

protected Shape shape
The Shape to be painted.


paint

protected Paint paint
The paint attribute used to fill the shape.

Constructor Detail

FillShapePainter

public FillShapePainter(Shape shape)
Constructs a new FillShapePainter that can be used to fill a Shape.

Parameters:
shape - Shape to be painted by this painter Should not be null.