Struct agg::conv_stroke::ConvStroke
source · pub struct ConvStroke<T: VertexSource + Default> { /* private fields */ }
Implementations
sourceimpl<T> ConvStroke<T>where
T: VertexSource + Default,
impl<T> ConvStroke<T>where
T: VertexSource + Default,
pub fn new(source: T) -> Self
pub fn width(&mut self, width: f64)
sourcepub fn line_join(&mut self, line_join: LineJoin)
pub fn line_join(&mut self, line_join: LineJoin)
Set Line Join style to LineJoin
Available options are
Miter
MiterRevert
RoundJoin
Bevel
MiterRound
Variants of MiterAccurate
and None
are not available and will
be reset to Miter
sourcepub fn inner_join(&mut self, inner_join: InnerJoin)
pub fn inner_join(&mut self, inner_join: InnerJoin)
Set Inner Join style to InnerJoin
Trait Implementations
sourceimpl<T: Debug + VertexSource + Default> Debug for ConvStroke<T>
impl<T: Debug + VertexSource + Default> Debug for ConvStroke<T>
sourceimpl<T: Default + VertexSource + Default> Default for ConvStroke<T>
impl<T: Default + VertexSource + Default> Default for ConvStroke<T>
sourcefn default() -> ConvStroke<T>
fn default() -> ConvStroke<T>
Returns the “default value” for a type. Read more
sourceimpl<T> VertexSource for ConvStroke<T>where
T: VertexSource + Default,
impl<T> VertexSource for ConvStroke<T>where
T: VertexSource + Default,
Auto Trait Implementations
impl<T> RefUnwindSafe for ConvStroke<T>where
T: RefUnwindSafe,
impl<T> Send for ConvStroke<T>where
T: Send,
impl<T> Sync for ConvStroke<T>where
T: Sync,
impl<T> Unpin for ConvStroke<T>where
T: Unpin,
impl<T> UnwindSafe for ConvStroke<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more