pub struct LineStyle { /* private fields */ }Implementations§
Source§impl LineStyle
impl LineStyle
pub fn new() -> LineStyle
pub fn allow_close(&self) -> bool
pub fn with_allow_close(self, val: bool) -> Self
pub fn allow_scale_x(&self) -> bool
pub fn with_allow_scale_x(self, val: bool) -> Self
pub fn allow_scale_y(&self) -> bool
pub fn with_allow_scale_y(self, val: bool) -> Self
pub fn is_pixel_hinted(&self) -> bool
pub fn with_is_pixel_hinted(self, val: bool) -> Self
pub fn start_cap(&self) -> LineCapStyle
pub fn with_start_cap(self, val: LineCapStyle) -> Self
pub fn end_cap(&self) -> LineCapStyle
pub fn with_end_cap(self, val: LineCapStyle) -> Self
pub fn join_style(&self) -> LineJoinStyle
pub fn with_join_style(self, val: LineJoinStyle) -> Self
pub fn fill_style(&self) -> &FillStyle
pub fn with_fill_style(self, val: FillStyle) -> Self
pub fn with_color(self, val: Color) -> Self
pub fn width(&self) -> Twips
pub fn with_width(self, val: Twips) -> Self
Trait Implementations§
impl Eq for LineStyle
impl StructuralPartialEq for LineStyle
Auto Trait Implementations§
impl Freeze for LineStyle
impl RefUnwindSafe for LineStyle
impl Send for LineStyle
impl Sync for LineStyle
impl Unpin for LineStyle
impl UnwindSafe for LineStyle
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