pub enum UnderColorRemovalFunction {
Default,
}
Expand description
See BlackGenerationFunction
, too. Undercolor removal reduces the amounts
of the cyan, magenta, and yellow components to compensate for the amount of
black that was added by black generation.
The undercolor-removal function computes the amount to subtract from each of the intermediate c, m, and y values to produce the final cyan, magenta, and yellow components. It can simply return its k operand unchanged, or it can return 0.0 (so that no color is removed), some fraction of the black amount, or even a negative amount, thereby adding to the total amount of colorant.
Variants
Default
Trait Implementations
sourceimpl Clone for UnderColorRemovalFunction
impl Clone for UnderColorRemovalFunction
sourcefn clone(&self) -> UnderColorRemovalFunction
fn clone(&self) -> UnderColorRemovalFunction
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnderColorRemovalFunction
impl Debug for UnderColorRemovalFunction
sourceimpl PartialEq<UnderColorRemovalFunction> for UnderColorRemovalFunction
impl PartialEq<UnderColorRemovalFunction> for UnderColorRemovalFunction
sourcefn eq(&self, other: &UnderColorRemovalFunction) -> bool
fn eq(&self, other: &UnderColorRemovalFunction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for UnderColorRemovalFunction
impl StructuralPartialEq for UnderColorRemovalFunction
Auto Trait Implementations
impl RefUnwindSafe for UnderColorRemovalFunction
impl Send for UnderColorRemovalFunction
impl Sync for UnderColorRemovalFunction
impl Unpin for UnderColorRemovalFunction
impl UnwindSafe for UnderColorRemovalFunction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more