Properties

$backgroundColor

$backgroundColor : string

Type

string — Background color

$focusBackgroundColor

$focusBackgroundColor : string

Type

string — Focus background color

$style

$style : string

Type

string — Style

$textSize

$textSize : integer

Type

integer — Text size

$textFont

$textFont : string

Type

string — Text font

$textColor

$textColor : string

Type

string — Text color

$areaColor

$areaColor : string

Type

string — Area color

$focusAreaColor

$focusAreaColor : string

Type

string — Focus area color

Methods

create()

create() : static

Create a new Format

Returns

static

getBackgroundColor()

getBackgroundColor() : string

Get the background color

Returns

string

setBackgroundColor()

setBackgroundColor(string  $backgroundColor) : static

Set the background color

Parameters

string $backgroundColor

Background color

Returns

static

setBgColor()

setBgColor(string  $bgColor) : static

Set the background color

Parameters

string $bgColor

Background color

Returns

static

getFocusBackgroundColor()

getFocusBackgroundColor() : string

Get the focus background color

Returns

string

setFocusBackgroundColor()

setFocusBackgroundColor(string  $focusBackgroundColor) : static

Set the focus background color

Parameters

string $focusBackgroundColor

Focus background color

Returns

static

getStyle()

getStyle() : string

Get the style

Returns

string

setStyle()

setStyle(string  $style) : static

Set the style

Parameters

string $style

Style name

Returns

static

getTextSize()

getTextSize() : integer

Get the text size

Returns

integer

setTextSize()

setTextSize(integer  $textSize) : static

Set the text size

Parameters

integer $textSize

Text size

Returns

static

getTextFont()

getTextFont() : string

Get the text font

Returns

string

setTextFont()

setTextFont(string  $textFont) : static

Set the text font

Parameters

string $textFont

Returns

static

getTextColor()

getTextColor() : string

Get the text color

Returns

string

setTextColor()

setTextColor(string  $textColor) : static

Set the text color

Parameters

string $textColor

Text color

Returns

static

getAreaColor()

getAreaColor() : string

Get the area color

Returns

string

setAreaColor()

setAreaColor(string  $areaColor) : static

Set the area color

Parameters

string $areaColor

Area color

Returns

static

getAreaFocusColor()

getAreaFocusColor() : string

Get the area focus color

Returns

string

setAreaFocusColor()

setAreaFocusColor(string  $areaFocusColor) : static

Set the area focus color

Parameters

string $areaFocusColor

Area focus color

Returns

static

render()

render(\DOMDocument  $domDocument) : \DOMElement

Render the XML element

Parameters

\DOMDocument $domDocument

DOMDocument for which the XML element should be rendered

Returns

\DOMElement