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]

[src]

Formats the value using the given formatter.

impl PartialEq for SoftMask
[src]

[src]

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

[src]

This method tests for !=.

impl Clone for SoftMask
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more