pub struct Stroke {
pub points: Vec<Point>,
}Fields§
§points: Vec<Point>Implementations§
Source§impl Stroke
impl Stroke
pub fn read(reader: impl Read + Seek, entry: &PointsTableEntry) -> Result<Self>
pub fn render( &self, draw_target: &mut DrawTarget, draw_options: &DrawOptions, stroke_style: &StrokeStyle, ) -> Result<()>
pub fn render_with_color( &self, draw_target: &mut DrawTarget, draw_options: &DrawOptions, stroke_style: &StrokeStyle, color: Color, ) -> Result<()>
Trait Implementations§
impl StructuralPartialEq for Stroke
Auto Trait Implementations§
impl Freeze for Stroke
impl RefUnwindSafe for Stroke
impl Send for Stroke
impl Sync for Stroke
impl Unpin for Stroke
impl UnsafeUnpin for Stroke
impl UnwindSafe for Stroke
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