Skip to content

Commit

Permalink
docs: replace IPath with SkPath in Path page (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
wobsoriano authored Apr 29, 2022
1 parent 7165e49 commit c1742b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/shapes/path.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ In Skia, paths are semantically identical to [SVG Paths](https://developer.mozil

| Name | Type | Description |
|:----------|:----------|:--------------------------------------------------------------|
| path | `IPath` or `string` | Path to draw. Can be a string using the [SVG Path notation](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths#line_commands) or an object created with `Skia.Path.Make()`. |
| path | `SkPath` or `string` | Path to draw. Can be a string using the [SVG Path notation](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths#line_commands) or an object created with `Skia.Path.Make()`. |
| start | `number` | Trims the start of the path. Value is in the range `[0, 1]` (default is 0). |
| end | `number` | Trims the end of the path. Value is in the range `[0, 1]` (default is 1). |
| stroke | `StrokeOptions` | Turns this path into the filled equivalent of the stroked path. This will fail if the path is a hairline. `StrokeOptions` describes how the stroked path should look. It contains three properties: `width`, `strokeMiterLimit` and, `precision` |
Expand Down

0 comments on commit c1742b9

Please sign in to comment.