| Package | Description |
|---|---|
| rst.pdfbox.layout.text.annotations |
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationCharacters.AnnotationControlCharacter<T extends Annotation>
Common base class for annotation control characters.
|
static interface |
AnnotationCharacters.AnnotationControlCharacterFactory<T extends AnnotationCharacters.AnnotationControlCharacter<? extends Annotation>>
Specialized interface for control character factories for annotations.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Annotations.AnchorAnnotation
Represents a anchor annotation
|
static class |
Annotations.HyperlinkAnnotation
Represents a hyperlink annotation
|
static class |
Annotations.UnderlineAnnotation
Represents a underline annotation
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
Annotated.getAnnotationsOfType(Class<T> type)
Gets the annotations of a specific type.
|
<T extends Annotation> |
AnnotatedStyledText.getAnnotationsOfType(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Annotation> |
AnnotatedStyledText.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotatedStyledText.addAnnotation(Annotation annotation)
Adds an annotation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotatedStyledText.addAllAnnotation(Collection<Annotation> annos)
Adds all annotations.
|
| Constructor and Description |
|---|
AnnotatedStyledText(String text,
float size,
org.apache.pdfbox.pdmodel.font.PDFont font,
Color color,
float baselineOffset,
Collection<? extends Annotation> annotations)
Creates a styled text.
|
AnnotatedStyledText(String text,
FontDescriptor fontDescriptor,
Color color,
float leftMargin,
float rightMargin,
float baselineOffset,
Collection<? extends Annotation> annotations)
Creates a styled text.
|
Copyright © 2022. All rights reserved.