VgsMaskVisualTransformation

Visual transformation that formats input against a fixed character mask.

Each # in mask is a placeholder for one input character; any other character (space, slash, dash, …) is rendered as-is. For example "#### #### #### ####" shows card-number input grouped into four blocks.

The mask is purely visual — the value submitted to VGS is the raw, unformatted text.

Parameters

mask

display pattern; use # for input characters and any other character as a literal.

Constructors

Link copied to clipboard
constructor(mask: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun filter(text: AnnotatedString): TransformedText
Link copied to clipboard
open override fun hashCode(): Int