pub enum ExaggerateAnchor {
Centroid,
BoundingBoxCenter,
Custom(Coordinate),
}Expand description
Specifies the fixed point from which exaggeration is applied.
Variants§
Centroid
Use the area-weighted centroid of the geometry (default, most common).
BoundingBoxCenter
Use the centre of the axis-aligned bounding box.
Custom(Coordinate)
Use an arbitrary user-supplied coordinate.
Trait Implementations§
Source§impl Clone for ExaggerateAnchor
impl Clone for ExaggerateAnchor
Source§fn clone(&self) -> ExaggerateAnchor
fn clone(&self) -> ExaggerateAnchor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExaggerateAnchor
impl RefUnwindSafe for ExaggerateAnchor
impl Send for ExaggerateAnchor
impl Sync for ExaggerateAnchor
impl Unpin for ExaggerateAnchor
impl UnsafeUnpin for ExaggerateAnchor
impl UnwindSafe for ExaggerateAnchor
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