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
-
public class TextBlock extends TextInfoChunk
-
-
Field Summary
-
Fields inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
baseLine, fontSize, slantDegree
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(TextLine line)booleanequals(Object o)TextLinegetFirstLine()TextLinegetLastLine()List<TextLine>getLines()intgetLinesNumber()TextLinegetPenultLine()TextLinegetSecondLine()inthashCode()booleanisEmpty()voidsetFirstLine(TextLine firstLine)voidsetLastLine(TextLine lastLine)StringtoString()-
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, setSlantDegree
-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.InfoChunk
unionBoundingBox
-
Methods 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, setRecognizedStructureId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods 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
-
-
-
-
Method Detail
-
getFirstLine
public TextLine getFirstLine()
-
getLastLine
public TextLine getLastLine()
-
setLastLine
public void setLastLine(TextLine lastLine)
-
setFirstLine
public void setFirstLine(TextLine firstLine)
-
getSecondLine
public TextLine getSecondLine()
-
getPenultLine
public TextLine getPenultLine()
-
add
public void add(TextLine line)
-
getLinesNumber
public int getLinesNumber()
-
isEmpty
public boolean isEmpty()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classTextInfoChunk
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classTextInfoChunk
-
-