$width
$width : integer
Image width in pixels
Class Ellipse
$fillColor : \Grafika\Color
$borderColor : \Grafika\Color
__construct(integer $width, integer $height, array $pos, integer $borderSize = 1, \Grafika\Color|string|null $borderColor = '#000000', \Grafika\Color|string|null $fillColor = '#FFFFFF')
Creates an ellipse.
| integer | $width | Width of ellipse in pixels. |
| integer | $height | Height of ellipse in pixels. |
| array | $pos | Array containing int X and int Y position of the ellipse from top left of the canvass. |
| integer | $borderSize | Size of the border in pixels. Defaults to 1 pixel. Set to 0 for no border. |
| \Grafika\Color|string|null | $borderColor | Border color. Defaults to black. Set to null for no color. |
| \Grafika\Color|string|null | $fillColor | Fill color. Defaults to white. Set to null for no color. |
getFillColor() : \Grafika\Color
getBorderColor() : \Grafika\Color
draw(\Grafika\ImageInterface $image) : \Grafika\ImageInterface
| \Grafika\ImageInterface | $image |