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

pub struct Path(_);

Graphics path object.

Methods

impl Path
[src]

[src]

Create a new empty path.

[src]

Close the current path/figure.

[src]

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.

[src]

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.

[src]

Draw an arc.

[src]

Draw a quadratic Bézier curve.

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

[src]

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.

[src]

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.

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl FromValue for Path
[src]

Get a Path object contained in the Value.

[src]

Converts value to specified type.

impl From<Path> for Value
[src]

Store the Path object as a Value.

[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for Path

impl !Sync for Path