Expand description
This crate contains the geometry types used internally in keyset. At the moment it mainly just re-exports types from Kurbo with a few custom additions.
Structs§
- Affine
- A 2D affine transform.
- Arc
- A single arc segment.
- BezPath
- A Bézier path.
- Circle
- A circle.
- Insets
- Insets from the edges of a rectangle.
- Point
- A 2D point.
- Rect
- A rectangle.
- Round
Rect - A rectangle with rounded corners. Unlike
kurbo::RoundedRect
this has one set of radii shared between all corners, but it does support elliptical corners. - Size
- A 2D size.
- Vec2
- A 2D vector.
Enums§
- PathEl
- The element of a Bézier path.
Traits§
- Shape
- A generic trait for open and closed shapes.