[−][src]Enum femtovg::LineJoin
Determines the shape used to join two line segments where they meet.
Miter
(default), Round
, Bevel
.
Variants
Connected segments are joined by extending their outside edges to connect at a single point, with the effect of filling an additional lozenge-shaped area. This setting is affected by the miterLimit property. Default value.
Rounds off the corners of a shape by filling an additional sector of disc centered at the common endpoint of connected segments. The radius for these rounded corners is equal to the line width.
Fills an additional triangular area between the common endpoint of connected segments, and the separate outside rectangular corners of each segment.
Trait Implementations
impl Clone for LineJoin
[src]
impl Copy for LineJoin
[src]
impl Debug for LineJoin
[src]
impl Default for LineJoin
[src]
impl PartialEq<LineJoin> for LineJoin
[src]
pub fn eq(&self, other: &LineJoin) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<LineJoin> for LineJoin
[src]
pub fn partial_cmp(&self, other: &LineJoin) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for LineJoin
[src]
Auto Trait Implementations
impl RefUnwindSafe for LineJoin
[src]
impl Send for LineJoin
[src]
impl Sync for LineJoin
[src]
impl Unpin for LineJoin
[src]
impl UnwindSafe for LineJoin
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,