Class TextBlock
java.lang.Object
org.verapdf.wcag.algorithms.entities.BaseObject
org.verapdf.wcag.algorithms.entities.content.InfoChunk
org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
org.verapdf.wcag.algorithms.entities.content.TextBlock
-
Field Summary
Fields inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
baseLine, fontSize, slantDegree -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleangetLines()intinthashCode()booleanisEmpty()voidsetFirstLine(TextLine firstLine) voidsetLastLine(TextLine lastLine) toString()Methods inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
add, getBaseLine, getFirstBaseLine, getFontSize, getSlantDegree, getTextCenter, getTextEnd, getTextStart, getValue, isBottomUpVerticalText, isHorizontalText, isLeftRightHorizontalText, isRightLeftHorizontalText, isUpBottomVerticalText, isVerticalText, setBaseLine, setFontSize, setSlantDegreeMethods 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, 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
-
Constructor Details
-
TextBlock
public TextBlock() -
TextBlock
-
TextBlock
-
-
Method Details
-
getLines
-
getFirstLine
-
getLastLine
-
setLastLine
-
setFirstLine
-
getSecondLine
-
getPenultLine
-
add
-
add
-
getLinesNumber
public int getLinesNumber() -
isEmpty
public boolean isEmpty() -
toString
-
hashCode
public int hashCode()- Overrides:
hashCodein classTextInfoChunk
-
equals
- Overrides:
equalsin classTextInfoChunk
-