Skip to main content

//clika-runtime/io.clika.runtime/ImageResample

ImageResample

[common]
enum ImageResample : Enum<ImageResample>

The resampling filter of an image resize; the codes are the runtime's own.

Entries​

NEAREST[common]
NEAREST
BILINEAR[common]
BILINEAR
BICUBIC[common]
BICUBIC

Properties​

NameSummary
code[common]
val code: Int
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): ImageResample
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.)
values[common]
fun values(): Array<ImageResample>
Returns an array containing the constants of this enum type, in the order they're declared.