pub enum TextRenderMode {
Fill,
Stroke,
FillStroke,
Invisible,
FillClip,
StrokeClip,
FillStrokeClip,
Clip,
}Expand description
How glyphs are painted (Tr; ISO 32000-1 table 106).
Variants§
Fill
Fill the glyphs.
Stroke
Stroke the glyph outlines.
FillStroke
Fill, then stroke.
Invisible
Paint nothing.
FillClip
Fill and add to the clipping path.
StrokeClip
Stroke and add to the clipping path.
FillStrokeClip
Fill, stroke and add to the clipping path.
Clip
Add to the 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextRenderMode
Source§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
impl Eq for TextRenderMode
Source§impl Hash for TextRenderMode
impl Hash for TextRenderMode
Source§impl PartialEq for TextRenderMode
impl PartialEq 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