[][src]Module nannou::ui::prelude::widget::primitive::shape::oval

A simple, non-interactive widget for drawing a single Oval.

Structs

Circumference

An iterator yielding the edges of an Oval (or some section of an Oval) as a circumference represented as a series of edges.

Full

The entire Oval will be drawn.

Oval

A simple, non-interactive widget for drawing a single Oval.

Section

A section of the oval will be drawn where the section is specified by the given radians.

State

Unique state for the Oval.

Triangles

An iterator yielding triangles that describe an oval or some section of an oval.

Constants

DEFAULT_RESOLUTION

The default circle resolution if none is specified.

Traits

OvalSection

Types that may be used to describe the visible section of the Oval.

Functions

circumference

An iterator yielding the Oval's edges as a circumference represented as a series of points.

is_over

Returns true if the given Point is over an oval at the given rect.

is_over_section

Returns whether or not the given point is over the section described

is_over_section_widget

The function to use for picking whether a given point is over the oval section.

is_over_widget

The function to use for picking whether a given point is over the oval.

triangles

An iterator yielding the triangles that describe the given oval.