\FML\StylesheetSkyGradientKey

Class representing a Sky Gradient Key

Summary

Methods
Properties
Constants
create()
__construct()
getX()
setX()
getColor()
setColor()
render()
No public properties found
No constants found
No protected methods found
$x
$color
N/A
No private methods found
No private properties found
N/A

Properties

$x

$x : float

Type

float — X value

$color

$color : string

Type

string — Color value

Methods

create()

create(float  $x = null, string  $color = null) : static

Create a new SkyGradientKey

Parameters

float $x

X value

string $color

Color value

Returns

static

__construct()

__construct(float  $x = null, string  $color = null) 

Construct a new SkyGradientKey

Parameters

float $x

X value

string $color

Color value

getX()

getX() : float

Get the X value

Returns

float

setX()

setX(float  $x) : static

Set the X value

Parameters

float $x

X value

Returns

static

getColor()

getColor() : string

Get the Color value

Returns

string

setColor()

setColor(string  $color) : static

Set the Color value

Parameters

string $color

Color value

Returns

static

render()

render(\DOMDocument  $domDocument) : \DOMElement

Render the SkyGradientKey

Parameters

\DOMDocument $domDocument

DOMDocument for which the Sky Gradient Key should be rendered

Returns

\DOMElement