pub struct GeometryPathData {
pub fill: Option<GeometryPath>,
pub stroke: Option<GeometryPath>,
}Expand description
The independently rendered fill and stroke paths of a geometry.
Some geometries intentionally fill and stroke different paths (for example
a figure whose closing edge is not stroked). An absent path is empty, while
IGeometryImpl::try_get_path_data returning None means that the backend
does not support extraction. Consumers must preserve this distinction.
Fields§
§fill: Option<GeometryPath>§stroke: Option<GeometryPath>Trait Implementations§
Source§impl Clone for GeometryPathData
impl Clone for GeometryPathData
Source§impl Debug for GeometryPathData
impl Debug for GeometryPathData
Source§impl PartialEq for GeometryPathData
impl PartialEq for GeometryPathData
impl StructuralPartialEq for GeometryPathData
Auto Trait Implementations§
impl Freeze for GeometryPathData
impl RefUnwindSafe for GeometryPathData
impl Send for GeometryPathData
impl Sync for GeometryPathData
impl Unpin for GeometryPathData
impl UnsafeUnpin for GeometryPathData
impl UnwindSafe for GeometryPathData
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more