Enum dx::canvas::CompositeOperation [−][src]
pub enum CompositeOperation { SourceOver, SourceIn, SourceOut, Atop, DestinationOver, DestinationIn, DestinationOut, DestinationAtop, Lighter, Copy, Xor, }
Expand description
Predefined composite oprations.
Variants
Displays the source over the destination.
Displays the source in the destination, i.e. only the part of the source inside the destination is shown and the destination is transparent.
Only displays the part of the source that is outside the destination, which is made transparent.
Displays the source on top of the destination. The part of the source outside the destination is not shown.
Displays the destination over the source.
Only displays the part of the destination that is inside the source, which is made transparent.
Only displays the part of the destination that is outside the source, which is made transparent.
Displays the destination on top of the source. The part of the destination that is outside the source is not shown.
Displays the source together with the destination, the overlapping area is rendered lighter.
Ignores the destination and just displays the source.
Only the areas that exclusively belong either to the destination or the source are displayed. Overlapping parts are ignored.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CompositeOperation
impl Send for CompositeOperation
impl Sync for CompositeOperation
impl Unpin for CompositeOperation
impl UnwindSafe for CompositeOperation
Blanket Implementations
Mutably borrows from an owned value. Read more