Struct turtle::Canvas [] [src]

pub struct Canvas { /* fields omitted */ }

Methods

impl Canvas
[src]

[src]

[src]

Saves the turtle graphic as Embedded Postscript (EPS)

[src]

Saves the turtle graphic as Scalable Vector Graphic (SVG).

Trait Implementations

impl Turtle for Canvas
[src]

[src]

Move turtle forward by specified distance.

[src]

Rotate around angle. If angle is positive, the turtle is turned to the left, if negative, to the right. Read more

[src]

Move turtle forward by specified distance without drawing.

[src]

Returns true if pen is down.

[src]

Put the pen down.

[src]

Put the pen up.

[src]

Positions the turtle exactly at position.

[src]

Push current turtle state on stack.

[src]

Restore previously saved turtle state.

[src]

Move turtle backward by specified distance.

[src]

Turn turtle right by angle degree.

[src]

Turn turtle left by angle degree.

[src]

Returns true if pen is up.

[src]