fill method
Contents
[
Hide
]fill
Fills the subpaths with the current fill style and default algorithm CanvasFillRule.Nonzero.
def fill(self):
...
fill
Fills the subpaths with the current fill style.
def fill(self, fill_rule):
...
| Parameter | Type | Description |
|---|---|---|
| fill_rule | CanvasFillRule | The algorithm by which to determine if a point is inside a path or outside a path. |
fill
Fills the subpaths with the current fill style and default algorithm CanvasFillRule.Nonzero.
def fill(self, path):
...
| Parameter | Type | Description |
|---|---|---|
| path | Path2D | A Path2D path to fill. |
fill
Fills the subpaths with the current fill style.
def fill(self, path, fill_rule):
...
| Parameter | Type | Description |
|---|---|---|
| path | Path2D | A Path2D path to fill. |
| fill_rule | CanvasFillRule | The algorithm by which to determine if a point is inside a path or outside a path. |
See Also
- module
aspose.html.dom.canvas - class
ICanvasRenderingContext2D