Package net.sourceforge.jeuclid.layout
Class FillRectObject
java.lang.Object
net.sourceforge.jeuclid.layout.FillRectObject
- All Implemented Interfaces:
GraphicsObject
- Version:
- $Revision: 8afef6dd0d58 $
-
Constructor Summary
ConstructorsConstructorDescriptionFillRectObject(Color color, float ascent, float descent, float width) Default Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(float x, float y, Graphics2D g) Actually draw the object.
-
Constructor Details
-
FillRectObject
Default Constructor.- Parameters:
color- Color.ascent- Ascent.descent- Descent.width- Width.
-
-
Method Details
-
paint
Actually draw the object.- Specified by:
paintin interfaceGraphicsObject- Parameters:
x- X-offset of surrounding element.y- Y-Offset of baseline of surrounding element.g- Graphics Context.
-