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

The clip defines the rectangular region in which the frame is clipped into. All overflowing pixels will be discarded.

Defines how overlapping paths are composited together.

The alpha component of the path.

A transformation which 'transforms' the coordinate system and consequently the path.

Trait Implementations

impl Clone for PathOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PathOptions
[src]

impl Debug for PathOptions
[src]

Formats the value using the given formatter. Read more

impl Default for PathOptions
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for PathOptions

impl Sync for PathOptions