class TextStyle extends Model (View source)

Properties

protected $backgroundColorType
protected $backgroundColorDataType
string $baselineOffset
bool $bold
string $fontFamily
protected $fontSizeType
protected $fontSizeDataType
protected $foregroundColorType
protected $foregroundColorDataType
bool $italic
protected $linkType
protected $linkDataType
bool $smallCaps
bool $strikethrough
bool $underline
protected $weightedFontFamilyType
protected $weightedFontFamilyDataType

Methods

setBackgroundColor(OptionalColor $backgroundColor)

No description

setBaselineOffset($baselineOffset)

No description

string
getBaselineOffset()

No description

setBold($bold)

No description

bool
getBold()

No description

setFontFamily($fontFamily)

No description

string
getFontFamily()

No description

setFontSize(Dimension $fontSize)

No description

getFontSize()

No description

setForegroundColor(OptionalColor $foregroundColor)

No description

setItalic($italic)

No description

bool
getItalic()

No description

setLink(Link $link)

No description

getLink()

No description

setSmallCaps($smallCaps)

No description

bool
getSmallCaps()

No description

setStrikethrough($strikethrough)

No description

bool
getStrikethrough()

No description

setUnderline($underline)

No description

bool
getUnderline()

No description

setWeightedFontFamily(WeightedFontFamily $weightedFontFamily)

No description

Details

setBackgroundColor(OptionalColor $backgroundColor)

No description

Parameters

OptionalColor $backgroundColor

OptionalColor getBackgroundColor()

No description

Return Value

OptionalColor

setBaselineOffset($baselineOffset)

No description

Parameters

$baselineOffset

string getBaselineOffset()

No description

Return Value

string

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(Dimension $fontSize)

No description

Parameters

Dimension $fontSize

Dimension getFontSize()

No description

Return Value

Dimension

setForegroundColor(OptionalColor $foregroundColor)

No description

Parameters

OptionalColor $foregroundColor

OptionalColor getForegroundColor()

No description

Return Value

OptionalColor

setItalic($italic)

No description

Parameters

$italic

bool getItalic()

No description

Return Value

bool

No description

Parameters

Link $link

No description

Return Value

Link

setSmallCaps($smallCaps)

No description

Parameters

$smallCaps

bool getSmallCaps()

No description

Return Value

bool

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

setWeightedFontFamily(WeightedFontFamily $weightedFontFamily)

No description

Parameters

WeightedFontFamily $weightedFontFamily

WeightedFontFamily getWeightedFontFamily()

No description

Return Value

WeightedFontFamily