pub struct XamlShape {
pub data: String,
pub fill: Option<String>,
pub even_odd: bool,
pub stroke: Option<String>,
pub stroke_width: f32,
pub cap: &'static str,
pub join: &'static str,
}Expand description
One flat shape: geometry plus the paints it was authored with. fill/stroke are
#AARRGGBB; a backend asked for a tint substitutes its own brush and ignores both.
Fields§
§data: StringSVG path grammar, which XAML’s Geometry mini-language parses unchanged.
fill: Option<String>§even_odd: bool§stroke: Option<String>§stroke_width: f32§cap: &'static str§join: &'static strAuto Trait Implementations§
impl Freeze for XamlShape
impl RefUnwindSafe for XamlShape
impl Send for XamlShape
impl Sync for XamlShape
impl Unpin for XamlShape
impl UnsafeUnpin for XamlShape
impl UnwindSafe for XamlShape
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