public class TextBlock extends LineSegment
Modifier and Type | Field and Description |
---|---|
ArrayList<Paragraph> |
content
This is the actual content of the TextBlock.
|
begin, end
Constructor and Description |
---|
TextBlock() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
double |
getRelativeFontSize() |
int |
hashCode() |
String |
indexedToString(int currentIdx)
Does the same as toString but also inserts the beginning and end index of each objects
respective text representation.
|
void |
setRelativeFontSize(double relativeFontSize) |
String |
toString() |
String |
toXML() |
boundariesEqual, boundariesEqual, getBegin, getEnd, intersection, isValid, isValid, length, length, normalize, normalize, normalizedBounds, overlaps, overlaps, setBegin, setEnd, union
public double getRelativeFontSize()
public void setRelativeFontSize(double relativeFontSize)
public String indexedToString(int currentIdx)
public String toXML()
Copyright (C) 2013, 2014 Raphael Dickfelder, Jan Göpfert, Benjamin Paassen, Andreas Stöckel, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/scie