pub struct GroupParams {
pub x_min: i32,
pub y_min: i32,
pub x_max: i32,
pub y_max: i32,
pub isolated: bool,
pub knockout: bool,
pub soft_mask_type: SoftMaskType,
}Expand description
Parameters for one transparency group, collected before begin_group.
Fields§
§x_min: i32Left edge of the group bounding box in device pixels (inclusive).
y_min: i32Top edge of the group bounding box in device pixels (inclusive).
x_max: i32Right edge of the group bounding box in device pixels (inclusive).
y_max: i32Bottom edge of the group bounding box in device pixels (inclusive).
isolated: booltrue → group starts transparent; false → backdrop is copied in.
knockout: booltrue → each object within the group clears accumulated alpha first.
soft_mask_type: SoftMaskTypeRole of this group’s output — controls extract_soft_mask behaviour.
Trait Implementations§
Source§impl Clone for GroupParams
impl Clone for GroupParams
Source§fn clone(&self) -> GroupParams
fn clone(&self) -> GroupParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GroupParams
impl RefUnwindSafe for GroupParams
impl Send for GroupParams
impl Sync for GroupParams
impl Unpin for GroupParams
impl UnsafeUnpin for GroupParams
impl UnwindSafe for GroupParams
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