pub enum PathVerbItem {
Move(Point),
Line(Point, Point),
Quad(Point, Point),
Conic(Point, Point, f32),
Cubic(Point, Point, Point),
Close,
}Expand description
单步迭代结果,含动词与关联点。Single iteration result with verb and points.
Variants§
Move(Point)
移动到新起点 / Move to new contour start
Line(Point, Point)
直线段 (from, to),from 为上一端点 / Line segment (from, to), from is previous point
Quad(Point, Point)
二次贝塞尔 (control, to) / Quadratic bezier (control, to)
Conic(Point, Point, f32)
圆锥曲线 (control, to, weight) / Conic (control, to, weight)
Cubic(Point, Point, Point)
三次贝塞尔 (ctrl1, ctrl2, to) / Cubic bezier (ctrl1, ctrl2, to)
Close
闭合轮廓 / Close contour
Implementations§
Trait Implementations§
Source§impl Clone for PathVerbItem
impl Clone for PathVerbItem
Source§fn clone(&self) -> PathVerbItem
fn clone(&self) -> PathVerbItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PathVerbItem
impl RefUnwindSafe for PathVerbItem
impl Send for PathVerbItem
impl Sync for PathVerbItem
impl Unpin for PathVerbItem
impl UnsafeUnpin for PathVerbItem
impl UnwindSafe for PathVerbItem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more