pub struct ClipperOffset { /* private fields */ }Implementations§
Source§impl ClipperOffset
impl ClipperOffset
pub fn new( miter_limit: f64, arc_tolerance: f64, preserve_collinear: bool, reverse_solution: bool, ) -> Self
pub fn add_path(&self, path: Path64, join_type: JoinType, end_type: EndType)
pub fn add_paths(&self, paths: Paths64, join_type: JoinType, end_type: EndType)
pub fn execute(&self, delta: f64) -> Paths64
pub fn clear(&self)
pub fn get_miter_limit(&self) -> f64
pub fn set_miter_limit(&self, miter_limit: f64)
pub fn get_arc_tolerance(&self) -> f64
pub fn set_arc_tolerance(&self, arc_tolerance: f64)
pub fn get_preserve_collinear(&self) -> bool
pub fn set_preserve_collinear(&self, preserve_collinear: bool)
pub fn get_reverse_solution(&self) -> bool
pub fn set_reverse_solution(&self, reverse_solution: bool)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClipperOffset
impl RefUnwindSafe for ClipperOffset
impl !Send for ClipperOffset
impl !Sync for ClipperOffset
impl Unpin for ClipperOffset
impl UnwindSafe for ClipperOffset
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