pub struct VectorGroup {
pub id: Option<Arc<str>>,
pub transform: Transform,
pub opacity: f64,
pub clip: Option<PathClip>,
pub mask: Option<VectorMask>,
pub blend_mode: BlendMode,
pub isolate: bool,
pub filters: Vec<Filter>,
pub source: Option<Range<usize>>,
pub children: Vec<VectorItem>,
}Expand description
A shared coordinate/isolation group, including source provenance.
Fields§
§id: Option<Arc<str>>Optional unique selection ID.
transform: TransformLocal-to-parent full f64 affine mapping.
opacity: f64Whole-group alpha, not per-child alpha.
clip: Option<PathClip>Optional local path coverage, applied once to the completed group.
mask: Option<VectorMask>Content coverage applied once after source filters and before clipping.
blend_mode: BlendModeWhole-group blending against its immediate backdrop.
isolate: boolIsolates descendant blending even with unit opacity and SourceOver.
filters: Vec<Filter>Ordered source-only filters.
source: Option<Range<usize>>Source provenance inherited by descendants without their own interval.
children: Vec<VectorItem>Paint order, independent of source reading order.
Trait Implementations§
Source§impl Clone for VectorGroup
impl Clone for VectorGroup
Source§impl Debug for VectorGroup
impl Debug for VectorGroup
Auto Trait Implementations§
impl !RefUnwindSafe for VectorGroup
impl !UnwindSafe for VectorGroup
impl Forget for VectorGroup
impl Freeze for VectorGroup
impl Move for VectorGroup
impl Send for VectorGroup
impl Sync for VectorGroup
impl Unpin for VectorGroup
impl UnsafeUnpin for VectorGroup
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