EyeFill
in package
Table of Contents
- $externalColor : ColorInterface|null
- $inherit : self|null
- $internalColor : ColorInterface|null
- __construct() : mixed
- getExternalColor() : ColorInterface
- getInternalColor() : ColorInterface
- inherit() : self
- inheritsBothColors() : bool
- inheritsExternalColor() : bool
- inheritsInternalColor() : bool
- uniform() : self
Properties
$externalColor
private
ColorInterface|null
$externalColor
$inherit
private
static self|null
$inherit
$internalColor
private
ColorInterface|null
$internalColor
Methods
__construct()
public
__construct(ColorInterface|null $externalColor, ColorInterface|null $internalColor) : mixed
Parameters
- $externalColor : ColorInterface|null
- $internalColor : ColorInterface|null
Return values
mixed —getExternalColor()
public
getExternalColor() : ColorInterface
Return values
ColorInterface —getInternalColor()
public
getInternalColor() : ColorInterface
Return values
ColorInterface —inherit()
public
static inherit() : self
Return values
self —inheritsBothColors()
public
inheritsBothColors() : bool
Return values
bool —inheritsExternalColor()
public
inheritsExternalColor() : bool
Return values
bool —inheritsInternalColor()
public
inheritsInternalColor() : bool
Return values
bool —uniform()
public
static uniform(ColorInterface $color) : self
Parameters
- $color : ColorInterface