Enum printpdf::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§
Trait Implementations§
source§impl Clone for TextRenderingMode
impl Clone for TextRenderingMode
source§fn clone(&self) -> TextRenderingMode
fn clone(&self) -> TextRenderingMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TextRenderingMode
impl Debug for TextRenderingMode
source§impl From<TextRenderingMode> for i64
impl From<TextRenderingMode> for i64
source§fn from(val: TextRenderingMode) -> Self
fn from(val: TextRenderingMode) -> Self
Converts to this type from the input type.
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more