36 lines
800 B
PHP
36 lines
800 B
PHP
<?php
|
|
/**
|
|
* This file is part of Jdenticon for PHP.
|
|
* https://github.com/dmester/jdenticon-php/
|
|
*
|
|
* Copyright (c) 2018 Daniel Mester Pirttijärvi
|
|
*
|
|
* For full license information, please see the LICENSE file that was
|
|
* distributed with this source code.
|
|
*/
|
|
|
|
namespace Jdenticon\Rendering;
|
|
|
|
/**
|
|
* Specifies in what direction the 90 degree angle of a triangle is pointing.
|
|
*/
|
|
class TriangleDirection
|
|
{
|
|
/**
|
|
* The 90 degree angle is pointing to South West.
|
|
*/
|
|
const SOUTH_WEST = 0;
|
|
/**
|
|
* The 90 degree angle is pointing to North West.
|
|
*/
|
|
const NORTH_WEST = 1;
|
|
/**
|
|
* The 90 degree angle is pointing to North East.
|
|
*/
|
|
const NORTH_EAST = 2;
|
|
/**
|
|
* The 90 degree angle is pointing to South East.
|
|
*/
|
|
const SOUTH_EAST = 3;
|
|
}
|