Skip to content

Commit

Permalink
Updated readme. save() and restore() were missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmester committed Dec 21, 2018
1 parent 1a42c36 commit 930bf3c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,17 @@ by the module. Use the `getContext()` method on the canvas to get a `CanvasConte

Fills the specified rectangle without affecting the current paths.

#### Operations

* `save()`

Saves the current transformation and fill style to a stack. The state can be
restored using `restore()`.

* `restore()`

Restores the last state saved by `save()` and removes the state from the
state stack.

#### Transformation

Expand Down

0 comments on commit 930bf3c

Please sign in to comment.