Struct kurbo::Circle [−][src]
Expand description
A circle.
Fields
center: Point
The center.
radius: f64
The radius.
Implementations
A new circle from center and radius.
Create a CircleSegment
by cutting out parts of this circle.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
type PathElementsIter = CirclePathIter
type PathElementsIter = CirclePathIter
The iterator returned by the path_elements
method. Read more
The smallest rectangle that encloses the shape.
If the shape is a rounded rectangle, make it available.
Auto Trait Implementations
impl RefUnwindSafe for Circle
impl UnwindSafe for Circle
Blanket Implementations
Mutably borrows from an owned value. Read more