Package org.ghost4j.analyzer
Class InkAnalysisItem
- java.lang.Object
-
- org.ghost4j.analyzer.InkAnalysisItem
-
- All Implemented Interfaces:
java.io.Serializable,AnalysisItem
public class InkAnalysisItem extends java.lang.Object implements AnalysisItem
Represents font analysis data (used by InkAnalyzer).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private doubleCUsage (ratio) of the cyan color on the page.private doubleKUsage (ratio) of the black color on the page.private doubleMUsage (ratio) of the magenta color on the page.private intpageIndexPage index.private static longserialVersionUIDSerial version UID.private doubleYUsage (ratio) of the yellow color on the page.
-
Constructor Summary
Constructors Constructor Description InkAnalysisItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetC()doublegetK()doublegetM()intgetPageIndex()doublegetY()voidsetC(double c)voidsetK(double k)voidsetM(double m)voidsetPageIndex(int pageIndex)voidsetY(double y)java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serial version UID.- See Also:
- Constant Field Values
-
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.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.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)
-
-