Class CIDWArrayRange

java.lang.Object
org.verapdf.pd.font.CIDWArrayRange

public class CIDWArrayRange extends Object
Represents range of sequential CIDs and width for them. This is used in W array in CIDFonts.
Author:
Sergey Shemyakov
  • Constructor Details

    • CIDWArrayRange

      public CIDWArrayRange(int beginCID, int endCID, double width)
  • Method Details

    • contains

      public boolean contains(int cid)
      Returns true if width for given CID is stored in this CIDWArrayRange.
      Parameters:
      cid - is CID to check.
      Returns:
      true if width for this CID can be obtained from this CIDWArrayRange.
    • getWidth

      public double getWidth()
      Returns:
      width for this range.