Class FillRectObject

java.lang.Object
net.sourceforge.jeuclid.layout.FillRectObject
All Implemented Interfaces:
GraphicsObject

public class FillRectObject extends Object implements GraphicsObject
Version:
$Revision: 8afef6dd0d58 $
  • Constructor Details

    • FillRectObject

      public FillRectObject(Color color, float ascent, float descent, float width)
      Default Constructor.
      Parameters:
      color - Color.
      ascent - Ascent.
      descent - Descent.
      width - Width.
  • Method Details

    • paint

      public void paint(float x, float y, Graphics2D g)
      Actually draw the object.
      Specified by:
      paint in interface GraphicsObject
      Parameters:
      x - X-offset of surrounding element.
      y - Y-Offset of baseline of surrounding element.
      g - Graphics Context.