Package com.storedobject.pdf
Class PDFPhrase
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<PDFElement>
,Collection<PDFElement>
,List<PDFElement>
,RandomAccess
,SequencedCollection<PDFElement>
- Direct Known Subclasses:
PDF.Text
,PDFParagraph
Representation of "PDF phrase".
- Author:
- Syam
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add text.Get the list of chunks in this instance.getFont()
Get the current font.static PDFPhrase
getInstance
(String text) Create an instance for the given text.float
Get the leading.void
Set the font as the current font..void
setLeading
(float leading) Set the leading.Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
PDFPhrase
public PDFPhrase()Constructor. -
PDFPhrase
-
PDFPhrase
-
PDFPhrase
-
PDFPhrase
-
-
Method Details
-
add
-
getInstance
-
getChunks
-
setFont
Set the font as the current font..- Parameters:
font
- Font to set.
-
getFont
-
setLeading
public void setLeading(float leading) Set the leading.- Parameters:
leading
- Leading to set.
-
getLeading
public float getLeading()Get the leading.- Returns:
- The leading.
-