Struct printpdf::types::plugins::graphics::extgstate::SoftMask[][src]

pub struct SoftMask { /* fields omitted */ }

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

impl Debug for SoftMask
[src]

Formats the value using the given formatter. Read more

impl PartialEq for SoftMask
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for SoftMask
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SoftMask

impl Sync for SoftMask