Expand description
Draw 2D graphics for your users.
Modules§
- Handle events of a canvas.
Structs§
- A simple cache that stores generated
Geometry
to avoid recomputation. - A widget capable of drawing 2D graphics.
- The style used to fill geometry.
- The dash pattern used when stroking the line.
- An immutable set of points that may or may not be connected.
- The style of a stroke.
- A bunch of text that can be drawn to a canvas
Enums§
- A
Canvas
event. - A fill which linearly interpolates colors along a direction.
- The shape used at the end of open subpaths when they are stroked.
- The shape used at the corners of paths or basic shapes when they are stroked.
- The coloring style of some drawing.
Traits§
- The state and logic of a
Canvas
. - A renderer capable of drawing some
Self::Geometry
.