Expand description
A segment of a Bézier path.
Variants§
Trait Implementations§
source§impl ParamCurve for PathSeg
impl ParamCurve for PathSeg
source§fn subsegment(&self, range: Range<f64>) -> PathSeg
fn subsegment(&self, range: Range<f64>) -> PathSeg
Get a subsegment of the curve for the given parameter range.
source§fn subdivide(&self) -> (Self, Self)
fn subdivide(&self) -> (Self, Self)
Subdivide into (roughly) halves.
source§impl ParamCurveArclen for PathSeg
impl ParamCurveArclen for PathSeg
source§impl ParamCurveArea for PathSeg
impl ParamCurveArea for PathSeg
source§fn signed_area(&self) -> f64
fn signed_area(&self) -> f64
Compute the signed area under the curve. Read more