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,ListItem,TableCell,TableCluster,TableRow,TextBlock,TextChunk,TextColumn,TextLine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected double -
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()booleanbooleanbooleanbooleanbooleanbooleanvoidsetBaseLine(double baseLine) voidsetFontSize(double fontSize) voidsetSlantDegree(double slantDegree) 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, getLastPageNumber, getLeftX, getPageNumber, getRecognizedStructureId, getRightX, getTopY, getWidth, setBoundingBox, setLastPageNumber, 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, getLastPageNumber, getLeftX, getPageNumber, getRecognizedStructureId, getRightX, getTopY, getWidth, setBoundingBox, setLastPageNumber, setPageNumber, setRecognizedStructureId
-
Field Details
-
fontSize
protected double fontSize -
baseLine
protected double baseLine -
slantDegree
protected double slantDegree
-
-
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() -
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() -
getTextCenter
public double getTextCenter() -
getValue
-
getFirstBaseLine
public double getFirstBaseLine() -
equals
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseObject
-