Struct printpdf::types::plugins::graphics::color::Cmyk
[−]
[src]
pub struct Cmyk { pub c: f64, pub m: f64, pub y: f64, pub k: f64, pub icc_profile: Option<IccProfileRef>, }
CMYK color
Fields
c: f64
m: f64
y: f64
k: f64
icc_profile: Option<IccProfileRef>
Methods
impl Cmyk
[src]
fn new(
c: f64,
m: f64,
y: f64,
k: f64,
icc_profile: Option<IccProfileRef>
) -> Self
[src]
c: f64,
m: f64,
y: f64,
k: f64,
icc_profile: Option<IccProfileRef>
) -> Self
Creates a new CMYK color
Trait Implementations
impl Debug for Cmyk
[src]
impl Clone for Cmyk
[src]
fn clone(&self) -> Cmyk
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more