pub struct SoftMask { /* private fields */ }
Expand description
A soft mask is used for transparent images such as PNG with an alpha component The bytes range from 0xFF (opaque) to 0x00 (transparent). The alpha channel of a PNG image have to be sorted out. Can also be used for Vignettes, etc. Beware of color spaces! See PDF Reference Page 545 - Soft masks
Trait Implementations§
source§impl PartialEq for SoftMask
impl PartialEq for SoftMask
impl StructuralPartialEq for SoftMask
Auto Trait Implementations§
impl RefUnwindSafe for SoftMask
impl Send for SoftMask
impl Sync for SoftMask
impl Unpin for SoftMask
impl UnwindSafe for SoftMask
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