Enum quicksilver::graphics::BlendMode[][src]

#[repr(u32)]
pub enum BlendMode { Additive, Subtractive, Minimum, Maximum, }

The way the colors are blended when drawing on top of other color

Blend modes only apply to RGB values

Variants

Add the color being drawn onto and the color being drawn

Adding red and blue will produce purple for example

Subtract the color being drawn onto and the color being drawn

Subtracting red from purple will produce blue for example

Take the minimum of each component of the color

Purple and red will produce red, blue and red will produce black

Take the maximum of each component of the color

Purple and red will produce purple, blue and red will produce purple

Trait Implementations

impl Clone for BlendMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BlendMode
[src]

impl Debug for BlendMode
[src]

Formats the value using the given formatter. Read more

impl Hash for BlendMode
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for BlendMode
[src]

impl PartialEq for BlendMode
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for BlendMode

impl Sync for BlendMode