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§
source§impl Clone for UnderColorRemovalFunction
impl Clone for UnderColorRemovalFunction
source§fn clone(&self) -> UnderColorRemovalFunction
fn clone(&self) -> UnderColorRemovalFunction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnderColorRemovalFunction
impl Debug for UnderColorRemovalFunction
source§impl PartialEq for UnderColorRemovalFunction
impl PartialEq for UnderColorRemovalFunction
source§fn 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 ==
.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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more