Skip to main content

//clika-runtime/io.clika.runtime/PadMode

PadMode

[common]
enum PadMode : Enum<PadMode>

pad boundary handling. Constant fills with the given value; Reflect mirrors about the edge (edge sample not repeated); Replicate repeats the edge sample; Circular wraps around.

Entries​

CONSTANT[common]
CONSTANT
REFLECT[common]
REFLECT
REPLICATE[common]
REPLICATE
CIRCULAR[common]
CIRCULAR

Types​

NameSummary
Companion[common]
object Companion

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): PadMode
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<PadMode>
Returns an array containing the constants of this enum type, in the order they're declared.