pub enum TextRenderMode {
Fill = 0,
Stroke = 1,
FillStroke = 2,
Invisible = 3,
FillClip = 4,
StrokeClip = 5,
FillStrokeClip = 6,
Clip = 7,
}Expand description
Text rendering mode values (Tr operator).
Determines how character glyphs are painted (filled, stroked, clipped, etc.).
Variants§
Fill = 0
Fill character glyphs (default).
Stroke = 1
Stroke (outline) character glyphs.
FillStroke = 2
Fill and stroke character glyphs.
Invisible = 3
Neither fill nor stroke (invisible text).
FillClip = 4
Fill and add to clipping path.
StrokeClip = 5
Stroke and add to clipping path.
FillStrokeClip = 6
Fill, stroke, and add to clipping path.
Clip = 7
Add to clipping path only.
Implementations§
Trait Implementations§
Source§impl Clone for TextRenderMode
impl Clone for TextRenderMode
Source§fn clone(&self) -> TextRenderMode
fn clone(&self) -> TextRenderMode
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 TextRenderMode
impl Debug for TextRenderMode
Source§impl Default for TextRenderMode
impl Default for TextRenderMode
Source§fn default() -> TextRenderMode
fn default() -> TextRenderMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for TextRenderMode
impl PartialEq for TextRenderMode
impl Copy for TextRenderMode
impl Eq for TextRenderMode
impl StructuralPartialEq for TextRenderMode
Auto Trait Implementations§
impl Freeze for TextRenderMode
impl RefUnwindSafe for TextRenderMode
impl Send for TextRenderMode
impl Sync for TextRenderMode
impl Unpin for TextRenderMode
impl UnsafeUnpin for TextRenderMode
impl UnwindSafe for TextRenderMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.