FileType

This enum class is used to specify different vector file formats. Each enum represents a file type and holds related information consisting of a tag and an extension.

These represent file types, and their associated tag and extension values can be accessed as properties of the enum.

Entries

Link copied to clipboard

Android Vector Graphic (AVG) file representation

Link copied to clipboard

Scalable Vector Graphics (SVG) file representation

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int
Link copied to clipboard
val tag: String

Functions

Link copied to clipboard
fun valueOf(value: String): FileType

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.