pub enum TextRenderingMode {
Fill = 0,
Stroke = 1,
FillStroke = 2,
Invisible = 3,
FillClip = 4,
StrokeClip = 5,
FillStrokeClip = 6,
Clip = 7,
}Expand description
Text rendering mode for PDF text operations
Variants§
Fill = 0
Fill text (default)
Stroke = 1
Stroke text
FillStroke = 2
Fill and stroke text
Invisible = 3
Invisible text (for searchable text over images)
FillClip = 4
Fill text and add to path for clipping
StrokeClip = 5
Stroke text and add to path for clipping
FillStrokeClip = 6
Fill and stroke text and add to path for clipping
Clip = 7
Add text to path for clipping (invisible)
Trait Implementations§
Source§impl Clone for TextRenderingMode
impl Clone for TextRenderingMode
Source§fn clone(&self) -> TextRenderingMode
fn clone(&self) -> TextRenderingMode
Returns a duplicate 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 PartialEq for TextRenderingMode
impl PartialEq for TextRenderingMode
impl Copy for TextRenderingMode
impl Eq for TextRenderingMode
impl StructuralPartialEq for TextRenderingMode
Auto Trait Implementations§
impl Freeze for TextRenderingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more