Struct nanovg::PathOptions [−][src]
pub struct PathOptions { pub clip: Clip, pub composite_operation: CompositeOperation, pub alpha: f32, pub transform: Option<Transform>, }
Options which control how a path is rendered.
Fields
clip: Clip
The clip defines the rectangular region in which the frame is clipped into. All overflowing pixels will be discarded.
composite_operation: CompositeOperation
Defines how overlapping paths are composited together.
alpha: f32
The alpha component of the path.
transform: Option<Transform>
A transformation which 'transforms' the coordinate system and consequently the path.
Trait Implementations
impl Clone for PathOptions
[src]
impl Clone for PathOptions
fn clone(&self) -> PathOptions
[src]
fn clone(&self) -> PathOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for PathOptions
[src]
impl Copy for PathOptions
impl Debug for PathOptions
[src]
impl Debug for PathOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for PathOptions
[src]
impl Default for PathOptions
Auto Trait Implementations
impl Send for PathOptions
impl Send for PathOptions
impl Sync for PathOptions
impl Sync for PathOptions