Skip to main content

TextScriptingStyleSpan

Complete API reference for TextScriptingStyleSpan, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Uncategorized

Component: no


public class TextScriptingStyleSpan

Constructors

SignatureDescription
TextScriptingStyleSpan(Color)Creates a new instance of TextScriptingStyleSpan.
TextScriptingStyleSpan(Color, boolean, boolean, boolean, boolean)Creates a new instance of TextScriptingStyleSpan.

Attributes

NameTypeDescription
colorColorRepresents the color value stored on this instance. Read or assign to update the property.
boldbooleanRepresents the bold value stored on this instance. Read or assign to update the property.
italicbooleanRepresents the italic value stored on this instance. Read or assign to update the property.
underlinebooleanRepresents the underline value stored on this instance. Read or assign to update the property.
strikethroughbooleanRepresents the strikethrough value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
getColor()ColorReturns the current color.
setColor(Color)voidSets or updates the color.
isBold()booleanReturns whether bold is true.
setBold(boolean)voidSets or updates the bold.
isItalic()booleanReturns whether italic is true.
setItalic(boolean)voidSets or updates the italic.
isUnderline()booleanReturns whether underline is true.
setUnderline(boolean)voidSets or updates the underline.
isStrikethrough()booleanReturns whether strikethrough is true.
setStrikethrough(boolean)voidSets or updates the strikethrough.
convertInternal()StyleSpanExecutes convertInternal and returns after the underlying engine call finishes.