Font

open class Font

A single font that can be set on an com.pspdfkit.annotations.Annotation.

Constructors

Link copied to clipboard
constructor(@NonNull name: String, @NonNull fontFiles: List<File>)
Creates a new Font.
constructor(@NonNull name: String, @NonNull defaultTypeface: Typeface)
Creates a new Font.
constructor(@NonNull name: String)
Creates a new Font.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
Returns the default font file to use.
Link copied to clipboard
open fun hashCode(): Int