nutrient
Toggle table of contents
10.10.0
Nutrient
Target filter
Nutrient
Switch theme
Search in API
Skip to content
nutrient
nutrient
/
com.pspdfkit.ui.fonts
/
Font
Font
open
class
Font
(
val
name
:
String
,
val
fontFiles
:
List
<
File
>
=
emptyList()
,
val
defaultTypeface
:
Typeface
?
=
null
)
A single font that can be set on an
com.pspdfkit.annotations.Annotation
.
Members
Constructors
Font
Link copied to clipboard
constructor
(
name
:
String
,
fontFiles
:
List
<
File
>
=
emptyList()
,
defaultTypeface
:
Typeface
?
=
null
)
@
WorkerThread
constructor
(
name
:
String
,
fontFiles
:
List
<
File
>
)
@
WorkerThread
constructor
(
name
:
String
,
defaultTypeface
:
Typeface
?
)
Properties
default
Font
File
Link copied to clipboard
val
defaultFontFile
:
File
?
default
Typeface
Link copied to clipboard
val
defaultTypeface
:
Typeface
?
font
Files
Link copied to clipboard
val
fontFiles
:
List
<
File
>
name
Link copied to clipboard
val
name
:
String
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int