Struct iced_graphics::geometry::fill::Fill
source · pub struct Fill {
pub style: Style,
pub rule: Rule,
}
Available on crate feature
geometry
only.Expand description
The style used to fill geometry.
Fields§
§style: Style
The color or gradient of the fill.
By default, it is set to Style::Solid
with Color::BLACK
.
rule: Rule
The fill rule defines how to determine what is inside and what is outside of a shape.
See the SVG specification for more details.
By default, it is set to NonZero
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Fill
impl Send for Fill
impl Sync for Fill
impl Unpin for Fill
impl UnwindSafe for Fill
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.