Skip to main content

CanvasPropertyFillRule

Type

operator

Summary

The current fill rule of a canvas.

Syntax

the fill rule of <mCanvas>

Description

The rule used to determine when to fill enclosed regions of a path. Can be "even odd" or "non-zero".

Parameters

NameTypeDescription

mCanvas

An expression which evaluates to a canvas.

Examples

// Set canvas fill rule to non-zero.
set the fill rule of this canvas to "non-zero"
Thank you for your feedback!

Was this page helpful?