pub struct GroupParams {
pub bbox: [f64; 4],
pub isolated: bool,
pub knockout: bool,
pub blend_mode: u8,
pub alpha: f64,
pub color_space: GroupColorSpace,
}Expand description
Parameters for a transparency group compositing operation.
Fields§
§bbox: [f64; 4]Device-space bounding box [x_min, y_min, x_max, y_max].
isolated: boolWhether the group is isolated (renders against transparent backdrop).
knockout: boolWhether the group uses knockout semantics (elements composite against the initial backdrop, not against accumulated siblings).
blend_mode: u8Blend mode for compositing the group result onto the parent.
alpha: f64Opacity for compositing the group result (0.0–1.0).
color_space: GroupColorSpaceGroup’s transparency color space (/CS entry on the /Group dict).
Inherited from the enclosing group when not explicitly declared.
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