Struct printpdf::types::plugins::graphics::extgstate::ExtendedGraphicsStateBuilder
[−]
[src]
pub struct ExtendedGraphicsStateBuilder { /* fields omitted */ }
Methods
impl ExtendedGraphicsStateBuilder
[src]
fn new() -> Self
[src]
Creates a new graphics state builder
fn with_line_width(self, line_width: f64) -> Self
[src]
Sets the line width
fn with_line_cap(self, line_cap: LineCapStyle) -> Self
[src]
Sets the line cap
fn with_line_join(self, line_join: LineJoinStyle) -> Self
[src]
Sets the line join
fn with_miter_limit(self, miter_limit: f64) -> Self
[src]
Sets the miter limit
fn with_rendering_intent(self, rendering_intent: RenderingIntent) -> Self
[src]
Sets the rendering intent
fn with_overprint_stroke(self, overprint_stroke: bool) -> Self
[src]
Sets the stroke overprint
fn with_overprint_fill(self, overprint_fill: bool) -> Self
[src]
Sets the fill overprint
fn with_overprint_mode(self, overprint_mode: OverprintMode) -> Self
[src]
Sets the overprint mode
fn with_font(self, font: Option<FontIndex>) -> Self
[src]
Sets the font
WARNING: Use layer.add_font()
instead if you are not absolutely sure.
fn with_black_generation(
self,
black_generation: Option<BlackGenerationFunction>
) -> Self
[src]
self,
black_generation: Option<BlackGenerationFunction>
) -> Self
Sets the black generation
fn with_black_generation_extra(
self,
black_generation_extra: Option<BlackGenerationExtraFunction>
) -> Self
[src]
self,
black_generation_extra: Option<BlackGenerationExtraFunction>
) -> Self
Sets the black generation extra function
fn with_undercolor_removal(
self,
under_color_removal: Option<UnderColorRemovalFunction>
) -> Self
[src]
self,
under_color_removal: Option<UnderColorRemovalFunction>
) -> Self
Sets the undercolor removal function
fn with_undercolor_removal_extra(
self,
under_color_removal_extra: Option<UnderColorRemovalExtraFunction>
) -> Self
[src]
self,
under_color_removal_extra: Option<UnderColorRemovalExtraFunction>
) -> Self
Sets the undercolor removal extra function
fn with_transfer(self, transfer_function: Option<TransferFunction>) -> Self
[src]
Sets the transfer function
fn with_transfer_extra(
self,
transfer_extra_function: Option<TransferExtraFunction>
) -> Self
[src]
self,
transfer_extra_function: Option<TransferExtraFunction>
) -> Self
Sets the transfer extra function
fn with_halftone(self, halftone_type: Option<HalftoneType>) -> Self
[src]
Sets the halftone dictionary
fn with_flatness_tolerance(self, flatness_tolerance: f64) -> Self
[src]
Sets the flatness tolerance
fn with_smoothness_tolerance(self, smoothness_tolerance: f64) -> Self
[src]
Sets the smoothness tolerance
fn with_stroke_adjustment(self, stroke_adjustment: bool) -> Self
[src]
Sets the stroke adjustment
fn with_blend_mode(self, blend_mode: BlendMode) -> Self
[src]
Sets the blend mode
fn with_soft_mask(self, soft_mask: Option<SoftMask>) -> Self
[src]
Sets the soft mask
fn with_current_stroke_alpha(self, current_stroke_alpha: f64) -> Self
[src]
Sets the current alpha for strokes
fn with_current_fill_alpha(self, current_fill_alpha: f64) -> Self
[src]
Sets the current alpha for fills
fn with_alpha_is_shape(self, alpha_is_shape: bool) -> Self
[src]
Sets the current "alpha is shape"
fn with_text_knockout(self, text_knockout: bool) -> Self
[src]
Sets the current text knockout
fn build(self) -> ExtendedGraphicsState
[src]
Consumes the builder and returns an actual ExtendedGraphicsState
Trait Implementations
impl Debug for ExtendedGraphicsStateBuilder
[src]
impl Clone for ExtendedGraphicsStateBuilder
[src]
fn clone(&self) -> ExtendedGraphicsStateBuilder
[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
impl Default for ExtendedGraphicsStateBuilder
[src]
fn default() -> ExtendedGraphicsStateBuilder
[src]
Returns the "default value" for a type. Read more