Class LineChunk
- java.lang.Object
-
- org.verapdf.wcag.algorithms.entities.content.InfoChunk
-
- org.verapdf.wcag.algorithms.entities.content.LineChunk
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLineChunk.HorizontalLineComparatorstatic classLineChunk.VerticalLineComparator
-
Field Summary
Fields Modifier and Type Field Description static intBUTT_CAP_STYLEstatic intPROJECTING_SQUARE_CAP_STYLEstatic intROUND_CAP_STYLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LineChunkcreateLineChunk(Integer pageNumber, double startX, double startY, double endX, double endY, double width, int cap)booleanequals(Object o)VertexgetEnd()doublegetEndX()doublegetEndY()static VertexgetIntersectionVertex(LineChunk horizontalLine, LineChunk verticalLine)VertexgetStart()doublegetStartX()doublegetStartY()doublegetWidth()inthashCode()booleanisHorizontalLine()booleanisVerticalLine()StringtoString()-
Methods inherited from class org.verapdf.wcag.algorithms.entities.content.InfoChunk
getBottomY, getBoundingBox, getCenterX, getCenterY, getLastPageNumber, getLeftX, getPageNumber, getRightX, getTopY, setBoundingBox, setLastPageNumber, setPageNumber, unionBoundingBox
-
-
-
-
Method Detail
-
getStartX
public double getStartX()
-
getStartY
public double getStartY()
-
getStart
public Vertex getStart()
-
getEndX
public double getEndX()
-
getEndY
public double getEndY()
-
getEnd
public Vertex getEnd()
-
isHorizontalLine
public boolean isHorizontalLine()
-
isVerticalLine
public boolean isVerticalLine()
-
getWidth
public double getWidth()
-
getIntersectionVertex
public static Vertex getIntersectionVertex(LineChunk horizontalLine, LineChunk verticalLine)
-
-