pub struct DrawingPathBuilder { /* private fields */ }Available on macOS only.
Implementations§
Source§impl DrawingPathBuilder
impl DrawingPathBuilder
pub fn add_line(&mut self, p: Point) -> Result<()>
pub fn add_arc( &mut self, center: Point, radius: Size, start: f64, end: f64, clockwise: bool, ) -> Result<()>
pub fn add_bezier(&mut self, p1: Point, p2: Point, p3: Point) -> Result<()>
pub fn build(self, close: bool) -> Result<DrawingPath>
Auto Trait Implementations§
impl !RefUnwindSafe for DrawingPathBuilder
impl !Send for DrawingPathBuilder
impl !Sync for DrawingPathBuilder
impl !UnwindSafe for DrawingPathBuilder
impl Freeze for DrawingPathBuilder
impl Unpin for DrawingPathBuilder
impl UnsafeUnpin for DrawingPathBuilder
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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