Module bevy_prototype_lyon::shapes
source · Expand description
Collection of common shapes that can be drawn.
The structs defined in this module implement the
Geometry
trait. You can also implement
the trait for your own shapes.
Structs§
- A simple line segment, specified by two points.
- An easy way to display svg paths as a shape, takes an svg path string and a document size(Vec2).
Enums§
- Defines where the origin, or pivot of the
Rectangle
should be positioned. - The regular polygon feature used to determine the dimensions of the polygon.