Enum pdf_writer::types::TextRenderingMode [−][src]
pub enum TextRenderingMode {
Fill,
Stroke,
FillStroke,
Invisible,
FillClip,
StrokeClip,
FillStrokeClip,
Clip,
}
Expand description
How to render text.
Variants
Fill
Just fill the text.
Stroke
Just stroke the text.
FillStroke
First fill and then stroke the text.
Invisible
Don’t fill and don’t stroke the text.
FillClip
Fill the text, then apply the text outlines to the current clipping path.
StrokeClip
Stroke the text, then apply the text outlines to the current clipping path.
FillStrokeClip
First fill, then stroke the text and finally apply the text outlines to the current clipping path.
Clip
Apply the text outlines to the current clipping path.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TextRenderingMode
impl Send for TextRenderingMode
impl Sync for TextRenderingMode
impl Unpin for TextRenderingMode
impl UnwindSafe for TextRenderingMode
Blanket Implementations
Mutably borrows from an owned value. Read more