4D v16

SVG_Define_clip_path

Home

 
4D v16
SVG_Define_clip_path

SVG_Define_clip_path 


 

SVG_Define_clip_path ( parentSVGObject ; clipPathID ) -> Function result 
Parameter Type   Description
parentSVGObject  SVG_Ref in Reference of parent element
clipPathID  Text in Name of clip path
Function result  SVG_Ref in 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

Example  

Refer to the example of the SVG_SET_CLIP_PATH command.



See also 

SVG_SET_CLIP_PATH

 
PROPERTIES 

Product: 4D
Theme: Structure and Definitions
Number: 65891

 
HISTORY 

Created: 4D v12

 
ARTICLE USAGE

4D SVG Component ( 4D v16)