Enum pdf_writer::types::ShadingType [−][src]
#[non_exhaustive]
pub enum ShadingType {
Function,
Axial,
Radial,
}
Expand description
What kind of shading to use.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Function
The function specifies the color for each point in the domain.
Axial
The function specifies the color for each point on a line.
Radial
The function specifies the color for each circle between two nested circles.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ShadingType
impl Send for ShadingType
impl Sync for ShadingType
impl Unpin for ShadingType
impl UnwindSafe for ShadingType
Blanket Implementations
Mutably borrows from an owned value. Read more