Class FODimension

java.lang.Object
org.apache.fop.datatypes.FODimension

public class FODimension extends Object
This datatype hold a pair of resolved lengths, specifiying the dimensions in both inline and block-progression-directions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    distance (in millipoints) on the block-progression-direction
    int
    distance (in millipoints) on the inline-progression-direction
  • Constructor Summary

    Constructors
    Constructor
    Description
    FODimension(int ipd, int bpd)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     

    Methods inherited from class java.lang.Object

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

    • ipd

      public int ipd
      distance (in millipoints) on the inline-progression-direction
    • bpd

      public int bpd
      distance (in millipoints) on the block-progression-direction
  • Constructor Details

    • FODimension

      public FODimension(int ipd, int bpd)
      Constructor
      Parameters:
      ipd - length (in millipoints) of the inline-progression-direction
      bpd - length (in millipoints) of the block-progression-direction
  • Method Details

    • getIPD

      public int getIPD()
      Returns:
      ipd
    • getBPD

      public int getBPD()
      Returns:
      bpd
    • toString

      public String toString()
      Overrides:
      toString in class Object