Custom
data class Custom(val normal: ImageSource, val focused: ImageSource, val caretColor: ArgbColor, val disabled: ImageSource = normal, val border: Insets = Insets.all(1), val compositionUnderlineColor: ArgbColor = caretColor) : TextInputAppearance(source)
Supplies three independently resolved nine-slice frames and visible editing decorations.
Images remain caller-owned and resource identifiers resolve through the host's pinned resource context. Every frame must have a nonempty center after the border is removed; invalid images fail during evaluation. Transparent frame pixels reveal the caller's background; the default profile frame is not drawn underneath.
Constructors
Link copied to clipboard
constructor(normal: ImageSource, focused: ImageSource, caretColor: ArgbColor, disabled: ImageSource = normal, border: Insets = Insets.all(1), compositionUnderlineColor: ArgbColor = caretColor)
Properties
Link copied to clipboard
insertion caret color, including the single-line append caret.
Link copied to clipboard
focused IME block underline color.
Link copied to clipboard
frame used whenever editing is disabled.
Link copied to clipboard
focused enabled frame.
Link copied to clipboard
unfocused enabled frame.