pub struct VectorShape {
pub path: BezPath,
pub fill: Option<Color>,
pub stroke: Option<(Color, f64)>,
}Expand description
One painted path of a VectorImage.
Fields§
§path: BezPathOutline in image coordinates.
fill: Option<Color>Fill color, if filled.
stroke: Option<(Color, f64)>Stroke color and width, if stroked.
Trait Implementations§
Source§impl Clone for VectorShape
impl Clone for VectorShape
Auto Trait Implementations§
impl Freeze for VectorShape
impl RefUnwindSafe for VectorShape
impl Send for VectorShape
impl Sync for VectorShape
impl Unpin for VectorShape
impl UnsafeUnpin for VectorShape
impl UnwindSafe for VectorShape
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