pub struct ExtendedGraphicsStateBuilder { /* private fields */ }

Implementations§

Creates a new graphics state builder

Sets the line width

Sets the line cap

Sets the line join

Sets the miter limit

Sets the rendering intent

Sets the stroke overprint

Sets the fill overprint

Sets the overprint mode

Sets the font WARNING: Use layer.add_font() instead if you are not absolutely sure.

Sets the black generation

Sets the black generation extra function

Sets the undercolor removal function

Sets the undercolor removal extra function

Sets the transfer function

Sets the transfer extra function

Sets the halftone dictionary

Sets the flatness tolerance

Sets the smoothness tolerance

Sets the stroke adjustment

Sets the blend mode

Sets the soft mask

Sets the current alpha for strokes

Sets the current alpha for fills

Sets the current “alpha is shape”

Sets the current text knockout

Consumes the builder and returns an actual ExtendedGraphicsState

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Sets value as a parameter of self.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.