iced_renderer

Module geometry

Source
Available on crate feature geometry only.
Expand description

Build and draw geometry.

Modules§

fill
Fill Geometry with a certain style.
frame
Draw and generate geometry.
gradient
A gradient that can be used as a fill for some geometry.
path
Build different kinds of 2D shapes.
stroke
Create lines from a Path and assigns them various attributes/styles.

Structs§

Cache
A simple cache that stores generated geometry to avoid recomputation.
Fill
The style used to fill geometry.
Frame
The region of a surface that can be used to draw geometry.
Image
A raster image that can be drawn.
LineDash
The dash pattern used when stroking the line.
Path
An immutable set of points that may or may not be connected.
Stroke
The style of a stroke.
Svg
A raster image that can be drawn.
Text
A bunch of text that can be drawn to a canvas

Enums§

Gradient
A fill which linearly interpolates colors along a direction.
LineCap
The shape used at the end of open subpaths when they are stroked.
LineJoin
The shape used at the corners of paths or basic shapes when they are stroked.
Style
The coloring style of some drawing.

Traits§

Renderer
A renderer capable of drawing some Self::Geometry.