[][src]Module bevy_lyon::shapes

Shapes for easily constructing basic meshes with LyonMeshBuilder.

Overview

This module provides a set of shapes consumable by the LyonMeshBuilder which draws some simple basic shapes. The shapes provided here match with the shapes that have simple tesselators provided by lyon.

Structs

FillCircle
FillConvexPolyline

Requires the points to represent a convex shape. If the shape is concave the result will likely be incorrect.

FillPolyline
FillQuad
FillRect
FillRoundedRect
StrokeCircle
StrokeEllipse
StrokePolyline
StrokeQuad
StrokeRect
StrokeRoundedRect
StrokeTriangle

Traits

LyonShapeBuilder

Represents something capable of being built into a shape with the LyonMeshBuilder.