Module nannou::ui::prelude::widget::primitive::line[][src]

Expand description

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

Structs

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

Unique state for the Line widget.

Unique styling for a Line widget.

Enums

Whether the end of the Line should be flat or rounded.

The pattern used to draw the line.

Functions

Describes whether or not the given point touches the line described by a -> b with the given thickness.

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

Given two points and half the line thickness, return the four corners of the rectangle describing the line.

Given two points and half the line thickness, return the two triangles that describe the line.