struct SetStyle
source · line 9public
public struct SetStyle(val style: ContentStyle) : Command
- Supertype
Command
Applies the selected style without printing content or automatically restoring it.
constructor constructor
source · line 9public
constructor(val style: ContentStyle)
parameter style
source · line 9public
val style: ContentStyle
function writeAnsi
source · line 14public
public override fun writeAnsi(writer: TextWriter): Unit
- Overrides
writeAnsi· Command
Writes this command's ANSI representation to the supplied writer without flushing it. Parameter validation happens before or during serialization.
parameter writer
source · line 14public
writer: TextWriter
field style
source · line 9public
val style: ContentStyle
function equals
source · line 9publiccompiler-derived
operator fun equals(other: SetStyle): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: ContentStyle.