CompositeEye
in package
implements
EyeInterface
Combines the style of two different eyes.
Interfaces, Classes, Traits and Enums
- EyeInterface
- Interface for describing the look of an eye.
Table of Contents
- $externalEye : EyeInterface
- $internalEye : EyeInterface
- __construct() : mixed
- getExternalPath() : Path
- Returns the path of the external eye element.
- getInternalPath() : Path
- Returns the path of the internal eye element.
Properties
$externalEye
private
EyeInterface
$externalEye
$internalEye
private
EyeInterface
$internalEye
Methods
__construct()
public
__construct(EyeInterface $externalEye, EyeInterface $internalEye) : mixed
Parameters
- $externalEye : EyeInterface
- $internalEye : EyeInterface
Return values
mixed —getExternalPath()
Returns the path of the external eye element.
public
getExternalPath() : Path
The path origin point (0, 0) must be anchored at the middle of the path.
Return values
Path —getInternalPath()
Returns the path of the internal eye element.
public
getInternalPath() : Path
The path origin point (0, 0) must be anchored at the middle of the path.