4D v14SVG_Define_clip_path |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_Define_clip_path
|
SVG_Define_clip_path ( parentSVGObject ; clipPathID ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
parentSVGObject | SVG_Ref |
![]() |
Reference of parent element | |||||
clipPathID | Text |
![]() |
Name of clip path | |||||
Function result | SVG_Ref |
![]() |
Reference of clip path | |||||
The SVG_Define_clip_path command specifies a new clip path in the SVG container designated by parentSVGObject and returns its reference. If parentSVGObject is not (or does not belong to) an SVG document, an error is generated.
The clipPathID parameter designates the name of the clip path. This name will be used to associate a clip path with an object. If an element with the same name already exists in the document, an error is generated.
See Also: http://www.w3.org/TR/2001/REC-SVG-20010904/masking.html#EstablishingANewClippingPath
Refer to the example of the SVG_SET_CLIP_PATH command.
Product: 4D
Theme: Structure and Definitions
Number:
65891
Created: 4D v12
4D SVG Component ( 4D v13)
4D SVG Component ( 4D v12)
4D SVG Component ( 4D v14)