Enum printpdf::font::TextRenderingMode
source · [−]pub enum TextRenderingMode {
Fill,
Stroke,
FillStroke,
Invisible,
FillClip,
StrokeClip,
FillStrokeClip,
Clip,
}
Expand description
The text rendering mode determines how a text is drawn
The default rendering mode is Fill
. The color of the
fill / stroke is determine by the current pages outline /
fill color.
See PDF Reference 1.7 Page 402
Variants
Fill
Stroke
FillStroke
Invisible
FillClip
StrokeClip
FillStrokeClip
Clip
Trait Implementations
sourceimpl Clone for TextRenderingMode
impl Clone for TextRenderingMode
sourcefn clone(&self) -> TextRenderingMode
fn clone(&self) -> TextRenderingMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextRenderingMode
impl Debug for TextRenderingMode
sourceimpl Into<i64> for TextRenderingMode
impl Into<i64> for TextRenderingMode
impl Copy for TextRenderingMode
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more