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
- Direct Known Subclasses:
ListItem
-
Field Summary
Fields inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
baseLine, fontSize, isHiddenText, slantDegreeFields inherited from class org.verapdf.wcag.algorithms.entities.BaseObject
index, level -
Constructor Summary
ConstructorsConstructorDescriptionTextBlock(BoundingBox boundingBox) TextBlock(BoundingBox bbox, double fontSize, double baseLine) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleandoublegetLines()intinthashCode()booleanisEmpty()booleanbooleanvoidsetFirstLine(TextLine firstLine) voidsetHasEndLine(boolean hasEndLine) voidsetHasStartLine(boolean hasStartLine) voidsetLastLine(TextLine lastLine) voidsetTextAlignment(TextAlignment textAlignment) toString()Methods inherited from class org.verapdf.wcag.algorithms.entities.content.TextInfoChunk
add, getBaseLine, getFirstBaseLine, getFontSize, getSlantDegree, getTextCenter, getTextEnd, getTextStart, getValue, isBottomUpVerticalText, isHiddenText, isHorizontalText, isLeftRightHorizontalText, isRightLeftHorizontalText, isUpBottomVerticalText, isVerticalText, setBaseLine, setFontSize, setHiddenText, setSlantDegree, setTextEnd, setTextStartMethods 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, 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
-
Constructor Details
-
TextBlock
public TextBlock() -
TextBlock
-
TextBlock
-
TextBlock
-
TextBlock
-
-
Method Details
-
getLines
-
getFirstLine
-
getLastLine
-
setLastLine
-
setFirstLine
-
getSecondLine
-
getPenultLine
-
add
-
add
-
getFirstLineIndent
public double getFirstLineIndent() -
getLinesNumber
public int getLinesNumber() -
isEmpty
public boolean isEmpty() -
toString
-
hashCode
public int hashCode()- Overrides:
hashCodein classTextInfoChunk
-
equals
- Overrides:
equalsin classTextInfoChunk
-
getTextAlignment
-
setTextAlignment
-
isHasStartLine
public boolean isHasStartLine() -
setHasStartLine
public void setHasStartLine(boolean hasStartLine) -
isHasEndLine
public boolean isHasEndLine() -
setHasEndLine
public void setHasEndLine(boolean hasEndLine)
-