FontFormat

enum FontFormat : ProtocolMessageEnum
Specifies types of font formats supported for serving by the system.
Protobuf enum elide.page.Context.Fonts.FontFormat

Entries

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

Properties

Link copied to clipboard
Embedded OpenType (EOT).
EMBEDDED_OPENTYPE = 6;
Link copied to clipboard
OpenType Format (OTF).
OPENTYPE = 1;
Link copied to clipboard
TrueType Format (TTF).
TRUETYPE = 2;
Link copied to clipboard
Unspecified font format.
UNSPECIFIED_FORMAT = 0;
Link copied to clipboard
val VECTOR_VALUE: Int = 3
Scalable Vector Graphics (SVG).
VECTOR = 3;
Link copied to clipboard
Web Open Font Format 2 (WOFF2).
WEBFONT2 = 5;
Link copied to clipboard
Web Open Font Format (WOFF).
WEBFONT = 4;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Context.Fonts.FontFormat>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Context.Fonts.FontFormat

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.