Constants

MODEL_Box

MODEL_Box

MODEL_Button

MODEL_Button

MODEL_ButtonH

MODEL_ButtonH

MODEL_Title

MODEL_Title

MODEL_Window

MODEL_Window

Properties

$styleId

$styleId : string

Type

string — Style ID

$model

$model : string

Type

string — Style model

$thickness

$thickness : float

Type

float — Thickness

$color

$color : string

Type

string — Color

$focusColor

$focusColor : string

Type

string — Focus color

$lightColor

$lightColor : string

Type

string — Light color

$focusLightColor

$focusLightColor : string

Type

string — Focus light color

$yOffset

$yOffset : float

Type

float — Y-offset

$focusYOffset

$focusYOffset : float

Type

float — Focus Y-offset

$zOffset

$zOffset : float

Type

float — Z-offset

$focusZOffset

$focusZOffset : float

Type

float — Focus Z-offset

Methods

create()

create(string  $styleId = null, string  $model = null) : static

Create a new Style3d

Parameters

string $styleId

(optional) Style ID

string $model

(optional) Style model

Returns

static

__construct()

__construct(string  $styleId = null, string  $model = null) 

Construct a new Style3d

Parameters

string $styleId

(optional) Style ID

string $model

(optional) Style model

getId()

getId() : string

Get the Style ID

Returns

string

setId()

setId(string  $styleId) : static

Set the Style ID

Parameters

string $styleId

Style ID

Returns

static

checkId()

checkId() : static

Check the ID and assign one if necessary

Returns

static

getModel()

getModel() : string

Get the model

Returns

string

setModel()

setModel(string  $model) : static

Set the model

Parameters

string $model

Style model

Returns

static

getThickness()

getThickness() : float

Get the thickness

Returns

float

setThickness()

setThickness(float  $thickness) : static

Set the thickness

Parameters

float $thickness

Style thickness

Returns

static

getColor()

getColor() : string

Get the color

Returns

string

setColor()

setColor(string  $color) : static

Set the color

Parameters

string $color

Style color

Returns

static

getFocusColor()

getFocusColor() : string

Get the focus color

Returns

string

setFocusColor()

setFocusColor(string  $focusColor) : static

Set the focus color

Parameters

string $focusColor

Style focus color

Returns

static

getLightColor()

getLightColor() : string

Get the light color

Returns

string

setLightColor()

setLightColor(string  $lightColor) : static

Set the light color

Parameters

string $lightColor

Light color

Returns

static

getFocusLightColor()

getFocusLightColor() : string

Get the focus light color

Returns

string

setFocusLightColor()

setFocusLightColor(string  $focusLightColor) : static

Set the focus light color

Parameters

string $focusLightColor

Focus light color

Returns

static

getYOffset()

getYOffset() : float

Get the Y-offset

Returns

float

setYOffset()

setYOffset(float  $yOffset) : static

Set the Y-offset

Parameters

float $yOffset

Y-offset

Returns

static

getFocusYOffset()

getFocusYOffset() : float

Get the focus Y-offset

Returns

float

setFocusYOffset()

setFocusYOffset(float  $focusYOffset) : static

Set the focus Y-offset

Parameters

float $focusYOffset

Focus Y-offset

Returns

static

getZOffset()

getZOffset() : float

Get the Z-offset

Returns

float

setZOffset()

setZOffset(float  $zOffset) : static

Set the Z-offset

Parameters

float $zOffset

Z-offset

Returns

static

getFocusZOffset()

getFocusZOffset() : float

Get the focus Z-offset

Returns

float

setFocusZOffset()

setFocusZOffset(float  $focusZOffset) : static

Set the focus Z-offset

Parameters

float $focusZOffset

Focus Z-offset

Returns

static

render()

render(\DOMDocument  $domDocument) : \DOMElement

Render the Style3d

Parameters

\DOMDocument $domDocument

DOMDocument for which the Style3d should be rendered

Returns

\DOMElement