Class TextInfoChunk
java.lang.Object
org.verapdf.wcag.algorithms.entities.BaseObject
org.verapdf.wcag.algorithms.entities.content.InfoChunk
org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
- Direct Known Subclasses:
ListElement,TableCell,TableCluster,TableRow,TextBlock,TextChunk,TextColumn,TextLine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected booleanprotected doubleFields inherited from class org.verapdf.wcag.algorithms.entities.BaseObject
index, level -
Constructor Summary
ConstructorsConstructorDescriptionTextInfoChunk(BoundingBox bbox) TextInfoChunk(BoundingBox bbox, double fontSize, double baseLine) TextInfoChunk(BoundingBox bbox, double fontSize, double baseLine, double slantDegree) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadd(TextInfoChunk chunk) booleandoubledoubledoubledoubledoubledoubledoublegetValue()inthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetBaseLine(double baseLine) voidsetFontSize(double fontSize) voidsetHiddenText(boolean hiddenText) voidsetSlantDegree(double slantDegree) voidsetTextEnd(double textEnd) voidsetTextStart(double textStart) Methods inherited from class org.verapdf.wcag.algorithms.entities.content.InfoChunk
unionBoundingBoxMethods inherited from class org.verapdf.wcag.algorithms.entities.BaseObject
getBottomY, getBoundingBox, getCenterX, getCenterY, getErrorArguments, getErrorCodes, getHeight, getIndex, getLastPageNumber, getLeftX, getLevel, getPageNumber, getRecognizedStructureId, getRightX, getTopY, getWidth, setBoundingBox, setIndex, setLastPageNumber, setLevel, setPageNumber, setRecognizedStructureIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.wcag.algorithms.entities.IObject
getBottomY, getBoundingBox, getCenterX, getCenterY, getErrorArguments, getErrorCodes, getHeight, getIndex, getLastPageNumber, getLeftX, getLevel, getPageNumber, getRecognizedStructureId, getRightX, getTopY, getWidth, setBoundingBox, setIndex, setLastPageNumber, setLevel, setPageNumber, setRecognizedStructureId
-
Field Details
-
fontSize
protected double fontSize -
baseLine
protected double baseLine -
slantDegree
protected double slantDegree -
isHiddenText
protected boolean isHiddenText
-
-
Constructor Details
-
TextInfoChunk
public TextInfoChunk() -
TextInfoChunk
-
TextInfoChunk
-
TextInfoChunk
-
-
Method Details
-
setFontSize
public void setFontSize(double fontSize) -
getFontSize
public double getFontSize() -
setBaseLine
public void setBaseLine(double baseLine) -
getBaseLine
public double getBaseLine() -
add
-
getSlantDegree
public double getSlantDegree() -
setSlantDegree
public void setSlantDegree(double slantDegree) -
getTextStart
public double getTextStart() -
setTextStart
public void setTextStart(double textStart) -
isHorizontalText
public boolean isHorizontalText() -
isRightLeftHorizontalText
public boolean isRightLeftHorizontalText() -
isLeftRightHorizontalText
public boolean isLeftRightHorizontalText() -
isVerticalText
public boolean isVerticalText() -
isBottomUpVerticalText
public boolean isBottomUpVerticalText() -
isUpBottomVerticalText
public boolean isUpBottomVerticalText() -
getTextEnd
public double getTextEnd() -
setTextEnd
public void setTextEnd(double textEnd) -
getTextCenter
public double getTextCenter() -
getValue
-
getFirstBaseLine
public double getFirstBaseLine() -
isHiddenText
public boolean isHiddenText() -
setHiddenText
public void setHiddenText(boolean hiddenText) -
equals
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseObject
-