\Less_Tree_Color

Color

Summary

Methods
Properties
Constants
toCSS()
genCSS()
outputRuleset()
accept()
ReferencedArray()
__set_state()
__construct()
compile()
luma()
operate()
toRGB()
toHSL()
toHSV()
toARGB()
compare()
toHex()
fromKeyword()
$cache_string
$rgb
$alpha
$isTransparentKeyword
$type
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$cache_string

$cache_string : 

Type

$rgb

$rgb : 

Type

$alpha

$alpha : 

Type

$isTransparentKeyword

$isTransparentKeyword : 

Type

$type

$type : 

Type

Methods

toCSS()

toCSS(  $doNotCompress = false) 

Parameters

$doNotCompress

genCSS()

genCSS(  $output) : void

Generate CSS by adding it to the output object

Parameters

$output

outputRuleset()

outputRuleset(  $output, array<mixed,\Less_Tree_Ruleset>  $rules) 

Parameters

$output
array<mixed,\Less_Tree_Ruleset> $rules

accept()

accept(  $visitor) 

Parameters

$visitor

ReferencedArray()

ReferencedArray(  $rules) 

Parameters

$rules

__set_state()

__set_state(  $args) 

Requires php 5.3+

Parameters

$args

__construct()

__construct(  $rgb,   $a = 1,   $isTransparentKeyword = null) 

Parameters

$rgb
$a
$isTransparentKeyword

compile()

compile() 

luma()

luma() 

operate()

operate(string  $op,   $other) 

Parameters

string $op
$other

toRGB()

toRGB() 

toHSL()

toHSL() 

toHSV()

toHSV() 

toARGB()

toARGB() 

compare()

compare(  $x) 

Parameters

$x

toHex()

toHex(  $v) 

Parameters

$v

fromKeyword()

fromKeyword(string  $keyword) 

Parameters

string $keyword