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 TypeMethodDescriptionbooleanAdd text.Get the list of chunks in this instance.getFont()Get the current font.static PDFPhrasegetInstance(String text) Create an instance for the given text.floatGet the leading.voidSet the font as the current font..voidsetLeading(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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods 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.
-