pub enum StrokeJoin {
Miter,
Round,
Bevel,
}Expand description
Controls how stroke segments are joined at path vertices.
Variants§
Miter
Extends outer edges to a point, subject to the renderer’s miter limit.
Round
Rounds the outside of each join.
Bevel
Cuts joins off with a straight edge.
Trait Implementations§
Source§impl Clone for StrokeJoin
impl Clone for StrokeJoin
Source§impl CoercionRules for StrokeJoin
impl CoercionRules for StrokeJoin
Source§impl Debug for StrokeJoin
impl Debug for StrokeJoin
Source§impl Default for StrokeJoin
impl Default for StrokeJoin
Source§impl<'de> Deserialize<'de> for StrokeJoin
impl<'de> Deserialize<'de> for StrokeJoin
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StrokeJoin
Source§impl Hash for StrokeJoin
impl Hash for StrokeJoin
Source§impl HelperFunctions for StrokeJoin
impl HelperFunctions for StrokeJoin
Source§fn register_all_functions()
fn register_all_functions()
Registers all helper functions for this type.
Source§impl Interpolatable for StrokeJoin
impl Interpolatable for StrokeJoin
Source§fn interpolate(&self, _other: &Self, _t: f64) -> Self
fn interpolate(&self, _other: &Self, _t: f64) -> Self
Source§impl PartialEq for StrokeJoin
impl PartialEq for StrokeJoin
Source§impl Serialize for StrokeJoin
impl Serialize for StrokeJoin
impl StructuralPartialEq for StrokeJoin
Source§impl ToPaxValue for StrokeJoin
impl ToPaxValue for StrokeJoin
Source§fn to_pax_value(self) -> PaxValue
fn to_pax_value(self) -> PaxValue
Converts this value into a
PaxValue.Auto Trait Implementations§
impl Freeze for StrokeJoin
impl RefUnwindSafe for StrokeJoin
impl Send for StrokeJoin
impl Sync for StrokeJoin
impl Unpin for StrokeJoin
impl UnsafeUnpin for StrokeJoin
impl UnwindSafe for StrokeJoin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> PropertyValue for T
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.