class TextFormat extends Model (View source)

Properties

bool $bold
string $fontFamily
int $fontSize
protected $foregroundColorType
protected $foregroundColorDataType
protected $foregroundColorStyleType
protected $foregroundColorStyleDataType
bool $italic
protected $linkType
protected $linkDataType
bool $strikethrough
bool $underline

Methods

setBold($bold)

No description

bool
getBold()

No description

setFontFamily($fontFamily)

No description

string
getFontFamily()

No description

setFontSize($fontSize)

No description

int
getFontSize()

No description

setForegroundColor(Color $foregroundColor)

No description

getForegroundColor()

No description

setForegroundColorStyle(ColorStyle $foregroundColorStyle)

No description

setItalic($italic)

No description

bool
getItalic()

No description

setLink(Link $link)

No description

getLink()

No description

setStrikethrough($strikethrough)

No description

bool
getStrikethrough()

No description

setUnderline($underline)

No description

bool
getUnderline()

No description

Details

setBold($bold)

No description

Parameters

$bold

bool getBold()

No description

Return Value

bool

setFontFamily($fontFamily)

No description

Parameters

$fontFamily

string getFontFamily()

No description

Return Value

string

setFontSize($fontSize)

No description

Parameters

$fontSize

int getFontSize()

No description

Return Value

int

setForegroundColor(Color $foregroundColor)

No description

Parameters

Color $foregroundColor

Color getForegroundColor()

No description

Return Value

Color

setForegroundColorStyle(ColorStyle $foregroundColorStyle)

No description

Parameters

ColorStyle $foregroundColorStyle

ColorStyle getForegroundColorStyle()

No description

Return Value

ColorStyle

setItalic($italic)

No description

Parameters

$italic

bool getItalic()

No description

Return Value

bool

No description

Parameters

Link $link

No description

Return Value

Link

setStrikethrough($strikethrough)

No description

Parameters

$strikethrough

bool getStrikethrough()

No description

Return Value

bool

setUnderline($underline)

No description

Parameters

$underline

bool getUnderline()

No description

Return Value

bool