ellipse: Draw an Ellipse

Description Usage Arguments See Also Examples

Description

Draw an Ellipse

Usage

1
ellipse(sketch, x = NULL, y = NULL, w = NULL, h = NULL)

Arguments

sketch

A p5 sketch.

x

The x coordinate of the ellipse.

y

The y coordinate of the ellipse.

w

The width of the ellipse.

h

The height of the ellipse.

See Also

Other Shape 2D Primitives: arc, line, point, quad, rect, triangle

Examples

1
2
3
4
5
6
7
8
## Not run: 

p5() %>%
  background("#DCDCDC") %>%
  ellipse(56, 46, 55, 55)


## End(Not run)

seankross/p5 documentation built on May 30, 2019, 8:17 a.m.