clipRule property
Specifies the algorithm used to determine what parts of the canvas are affected by the fill operation.
This property is read/write.
![]() ![]() |
Syntax
HRESULT put_clipRule( [in] DOMString val ); HRESULT get_clipRule( [out] DOMString **ptr );
Property values
Type: DOMString
String format
nonzero | evenodd | inherit
CSS information
| Applies To | graphics elements within a ‘clipPath’ element |
|---|---|
| Media | visual |
| Inherited | 1 |
| Initial Value | nonzero |
Standards information
- Scalable Vector Graphics: Clipping, Masking and Compositing, Section 14.3.5
Requirements
|
IDL |
|
|---|
See also
Show:

