pub enum PdfShadingColors {
Rgb(Vec<[Rgba; 3]>),
Gray(Vec<[f64; 3]>),
}Expand description
Vertex colours of a Gouraud shading (addGouraudTriangles): RGB, or
one grey level (alpha values for a soft mask).
Variants§
Rgb(Vec<[Rgba; 3]>)
The colours of the three vertices of every triangle (their alpha is not written).
Gray(Vec<[f64; 3]>)
The grey levels of the three vertices of every triangle.
Trait Implementations§
Source§impl Clone for ShadingColors
impl Clone for ShadingColors
Source§impl Debug for ShadingColors
impl Debug for ShadingColors
Source§impl PartialEq for ShadingColors
impl PartialEq for ShadingColors
impl StructuralPartialEq for ShadingColors
Auto Trait Implementations§
impl Forget for ShadingColors
impl Freeze for ShadingColors
impl Move for ShadingColors
impl RefUnwindSafe for ShadingColors
impl Send for ShadingColors
impl Sync for ShadingColors
impl Unpin for ShadingColors
impl UnsafeUnpin for ShadingColors
impl UnwindSafe for ShadingColors
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