Documentation

SquareEye
in package
implements EyeInterface

Renders the eyes in their default square shape.

Interfaces, Classes, Traits and Enums

EyeInterface
Interface for describing the look of an eye.

Table of Contents

$instance  : self|null
getExternalPath()  : Path
Returns the path of the external eye element.
getInternalPath()  : Path
Returns the path of the internal eye element.
instance()  : self
__construct()  : mixed

Properties

$instance

private static self|null $instance

Methods

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.

Return values
Path

instance()

public static instance() : self
Return values
self

__construct()

private __construct() : mixed
Return values
mixed

Search results