Annotation
Represents a generic annotation in the PDF document.
Inheritors
Properties
Link copied to clipboard
                  Custom AP stream generator for this annotation.
Link copied to clipboard
                  Default border width when none is set.
Link copied to clipboard
                  Default border effect intensity for cloudy borders.
Link copied to clipboard
                  Annotation that this annotation replies to.
Link copied to clipboard
                  Return value for when the annotation doesn't have a set object number.
Link copied to clipboard
                  Return value for when the annotation doesn't have a set page number.
Functions
Link copied to clipboard
                  open fun attachBinaryInstantJsonAttachment(@NonNull dataProvider: DataProvider, @Nullable mimeType: String)
Attaches a binary instant JSON attachment to the annotation.
Link copied to clipboard
                  fun Annotation.createTextBlock(document: PdfDocument, range: ERROR CLASS: Symbol not found for Range): ERROR CLASS: Symbol not found for TextBlock
Creates TextBlock from textual annotation.
Link copied to clipboard
                  If this annotation has a binary instant JSON attachment, this will write it into the provided OutputStream.
Link copied to clipboard
                  Regenerates the annotation's appearance stream if necessary.
Link copied to clipboard
                  Regenerates the annotation's appearance stream if necessary.
Link copied to clipboard
                  Returns the annotation's main alpha (or stroke alpha).
Link copied to clipboard
                  Returns currently set blend mode.
Link copied to clipboard
                  Returns the border color of this annotation or 
Color#TRANSPARENT if no color is set.Link copied to clipboard
                  Returns currently set dash array or 
null if no pattern is set.Link copied to clipboard
                  Returns the current border effect on the annotation or NO_EFFECT if none is set.
Link copied to clipboard
                  Returns the current border effect intensity.
Link copied to clipboard
                  Returns the current border style on the annotation or NONE if none is set.
Link copied to clipboard
                  Returns the border line width / thickness.
Link copied to clipboard
                  Position of this annotation on the page.
Link copied to clipboard
                  Returns text contents of the annotation.
Link copied to clipboard
                  Returns the creation date of the annotation.
Link copied to clipboard
                  Returns the name of the creator of this annotation.
Link copied to clipboard
                  Retrieves custom data for the annotation.
Link copied to clipboard
                  Returns the fill alpha.
Link copied to clipboard
                  Returns a fill color associated with this object or 
Color#TRANSPARENT if no color is set.Link copied to clipboard
                  Annotation flags set.
Link copied to clipboard
                  Gets the font name for this annotation.
Link copied to clipboard
                  Retrieves the annotation this annotation replies to asynchronously.
Link copied to clipboard
                  Gets instant record group of the annotation, or 
null if this annotation is detached.Link copied to clipboard
                  Returns MeasurementInfo when the annotation is a measurement annotation (see isMeasurement, 
null if not.Link copied to clipboard
                  Returns the minimum size of the annotation.
Link copied to clipboard
                  Returns the date when this annotation was last modified.
Link copied to clipboard
                  The object number of this annotation inside the PDF document file.
Link copied to clipboard
                  The page number to which this annotation belongs.
Link copied to clipboard
                  Returns rich text contents of the annotation.
Link copied to clipboard
                  Returns the subject of this annotation.
Link copied to clipboard
                  Returns the text justification used by this free text annotation.
Link copied to clipboard
                  Returns the text size set to this annotation.
Link copied to clipboard
                  Gets the annotation type of the annotation.
Link copied to clipboard
                  Returns the vertical text alignment used by this free text annotation.
Link copied to clipboard
                  Checks if this annotation has a binary instant JSON attachment.
Link copied to clipboard
                  Test annotation flag.
Link copied to clipboard
                  Check if the annotation has locked contents - i.e.
Link copied to clipboard
                  Checks if this annotation has the same properties as another annotation, excluding identity properties like UUID, modified date, and name.
Link copied to clipboard
                  Tells whether this annotation is attached to a document.
Link copied to clipboard
                  Returns 
true when the annotation is a measurement annotation.Link copied to clipboard
                  Returns whether the annotation is modified or not.
Link copied to clipboard
                  Check if the annotation is resizable, or if this is a non-resizable annotation.
Link copied to clipboard
                  Returns 
true when the annotation is a signature annotation.Link copied to clipboard
                  Returns true if this Annotation can be rotated in the UI.
Link copied to clipboard
                  Creates random string to be used as a group name.
Link copied to clipboard
                  open fun renderToBitmap(@NonNull bitmap: Bitmap, @NonNull configuration: AnnotationRenderConfiguration)
Renders the appearance of this annotation into the passed bitmap.
Link copied to clipboard
                  open fun renderToBitmapAsync(@NonNull bitmap: Bitmap, @NonNull configuration: AnnotationRenderConfiguration): Single<Bitmap>
Asynchronously renders the appearance of this annotation into the passed bitmap.
Link copied to clipboard
                  Sets the annotation's alpha (or stroke alpha) value.
Link copied to clipboard
                  Sets the blend mode used when generating annotation's appearance stream.
Link copied to clipboard
                  Sets the border color for this annotation.
Link copied to clipboard
                  Sets a dash style for the border.
Link copied to clipboard
                  Sets a border effect for current annotation.
Link copied to clipboard
                  Sets border effect intensity.
Link copied to clipboard
                  Sets a border style for current annotation.
Link copied to clipboard
                  Sets border line width / thickness.
Link copied to clipboard
                  Sets the position and size of this annotation on the page.
Link copied to clipboard
                  Sets text contents of the annotation.
Link copied to clipboard
                  Sets created date for this annotation.
Link copied to clipboard
                  Sets the creator of this annotation.
Link copied to clipboard
                  Sets custom data to the annotation.
Link copied to clipboard
                  Sets the annotation's fill alpha value if supported.
Link copied to clipboard
                  Sets the fill color for this annotation.
Link copied to clipboard
                  Sets annotation flags.
Link copied to clipboard
                  Sets the font for this annotation.
Link copied to clipboard
                  Set the minimum size for the specified annotation type in PDF points.
Link copied to clipboard
                  Sets last modified date for this annotation.
Link copied to clipboard
                  Sets rich text contents of the annotation.
Link copied to clipboard
                  Sets the subject of this annotation.
Link copied to clipboard
                  Sets the text justification to use.
Link copied to clipboard
                  Sets the text size of this annotation.
Link copied to clipboard
                  Sets the vertical text alignment to use.
Link copied to clipboard
                  Produces Instant JSON representation of this annotation.
Link copied to clipboard
                  abstract fun updateTransformationProperties(@NonNull newBoundingBox: RectF, @NonNull oldBoundingBox: RectF)
Annotations may override this method to transform their properties (i.e.