Class InkAnalysisItem

java.lang.Object
org.ghost4j.analyzer.InkAnalysisItem
All Implemented Interfaces:
Serializable, AnalysisItem

public class InkAnalysisItem extends Object implements AnalysisItem
Represents font analysis data (used by InkAnalyzer).
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private double
    Usage (ratio) of the cyan color on the page.
    private double
    Usage (ratio) of the black color on the page.
    private double
    Usage (ratio) of the magenta color on the page.
    private int
    Page index.
    private static final long
    Serial version UID.
    private double
    Usage (ratio) of the yellow color on the page.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    double
     
    int
     
    double
     
    void
    setC(double c)
     
    void
    setK(double k)
     
    void
    setM(double m)
     
    void
    setPageIndex(int pageIndex)
     
    void
    setY(double y)
     
     

    Methods inherited from class java.lang.Object

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

    • serialVersionUID

      private static final long serialVersionUID
      Serial version UID.
      See Also:
    • pageIndex

      private int pageIndex
      Page index. First page starts at 1.
    • C

      private double C
      Usage (ratio) of the cyan color on the page.
    • M

      private double M
      Usage (ratio) of the magenta color on the page.
    • Y

      private double Y
      Usage (ratio) of the yellow color on the page.
    • K

      private double K
      Usage (ratio) of the black color on the page.
  • Constructor Details

    • InkAnalysisItem

      public InkAnalysisItem()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPageIndex

      public int getPageIndex()
    • setPageIndex

      public void setPageIndex(int pageIndex)
    • getC

      public double getC()
    • setC

      public void setC(double c)
    • getM

      public double getM()
    • setM

      public void setM(double m)
    • getY

      public double getY()
    • setY

      public void setY(double y)
    • getK

      public double getK()
    • setK

      public void setK(double k)