Struct sciter::graphics::Path[][src]

pub struct Path(_);

Graphics path object.

Methods

impl Path
[src]

Create a new empty path.

Close the current path/figure.

Move the current drawing path position to x,y.

If is_relative is true then the specified coordinates are interpreted as deltas from the current path position.

Draw a line and move the current drawing path position to x,y.

If is_relative is true then the specified coordinates are interpreted as deltas from the current path position.

Draw an arc.

Draw a quadratic Bézier curve.

If is_relative is true then the specified coordinates are interpreted as deltas from the current path position.

Draw a cubic Bézier curve.

If is_relative is true then the specified coordinates are interpreted as deltas from the current path position.

Trait Implementations

impl Drop for Path
[src]

Destroy pointed path object.

Executes the destructor for this type. Read more

impl Clone for Path
[src]

Copies path object.

All allocated objects are reference counted so copying is just a matter of increasing reference counts.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromValue for Path
[src]

Get a Path object contained in the Value.

Converts value to specified type.

impl From<Path> for Value
[src]

Store the Path object as a Value.

Performs the conversion.

Auto Trait Implementations

impl !Send for Path

impl !Sync for Path