[−][src]Module iced::widget::canvas
This is supported on
feature="canvas"
only.Draw 2D graphics for your users.
A Canvas
widget can be used to draw different kinds of 2D shapes in a
Frame
. It can be used for animation, data visualization, game graphics,
and more!
Modules
layer | feature="canvas" Produce, store, and reuse geometry. |
path | feature="canvas" Build different kinds of 2D shapes. |
Structs
Canvas | feature="canvas" A widget capable of drawing 2D graphics. |
Frame | feature="canvas" The frame of a |
Path | feature="canvas" An immutable set of points that may or may not be connected. |
Stroke | feature="canvas" The style of a stroke. |
Text | feature="canvas" A bunch of text that can be drawn to a canvas |
Enums
Fill | feature="canvas" The style used to fill geometry. |
LineCap | feature="canvas" The shape used at the end of open subpaths when they are stroked. |
LineJoin | feature="canvas" The shape used at the corners of paths or basic shapes when they are stroked. |
Traits
Drawable | feature="canvas" A type that can be drawn on a |
Layer | feature="canvas" A layer that can be presented at a |