Grafika\Position::__construct PHP Method

__construct() public method

Position constructor.
public __construct ( string $position = 'center', integer $offsetX, integer $offsetY )
$position string Defaults to center.
$offsetX integer Defaults to 0.
$offsetY integer Defaults to 0.
    public function __construct($position = 'center', $offsetX = 0, $offsetY = 0)
    {
        $this->position = $position;
        $this->offsetX = $offsetX;
        $this->offsetY = $offsetY;
    }