[−][src]Trait pix::Alpha
Channel for defining the opacity of pixels.
It is the inverse of translucency.
Associated Types
Loading content...Required methods
fn value(&self) -> Self::Chan
Get the alpha Channel
value.
Channel::MIN is fully transparent, and Channel::MAX is fully opaque.
Implementors
impl<C: Channel> Alpha for Opaque<C>
[src]
type Chan = C
fn value(&self) -> C
[src]
Get the alpha Channel
value.
Always returns Channel::MAX (fully opaque).
impl<C: Channel> Alpha for Translucent<C>
[src]
type Chan = C
fn value(&self) -> C
[src]
Get the alpha Channel
value.
Channel::MIN is fully transparent, and Channel::MAX is fully opaque.