Class RectanglePaintingInfo

java.lang.Object
org.apache.fop.afp.RectanglePaintingInfo
All Implemented Interfaces:
PaintingInfo

public class RectanglePaintingInfo extends Object implements PaintingInfo
Filled rectangle painting information
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final float
     
    private final float
     
    private final float
     
    private final float
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RectanglePaintingInfo(float x, float y, float width, float height)
    Main constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    protected float
    Returns the height
    protected float
    Returns the width
    protected float
    Returns the x coordinate
    protected float
    Returns the y coordinate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • x

      private final float x
    • y

      private final float y
    • width

      private final float width
    • height

      private final float height
  • Constructor Details

    • RectanglePaintingInfo

      public RectanglePaintingInfo(float x, float y, float width, float height)
      Main constructor
      Parameters:
      x - the x coordinate
      y - the y coordinate
      width - the width
      height - the height
  • Method Details

    • getX

      protected float getX()
      Returns the x coordinate
      Returns:
      the x coordinate
    • getY

      protected float getY()
      Returns the y coordinate
      Returns:
      the y coordinate
    • getWidth

      protected float getWidth()
      Returns the width
      Returns:
      the width
    • getHeight

      protected float getHeight()
      Returns the height
      Returns:
      the height