4D v14SVG_SET_MARKER |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_SET_MARKER
SVG_SET_MARKER
The SVG_SET_MARKER command can be used to associate a marker with the object having the svgObject reference or to remove an existing marker. If svgObject is not the reference of a 'line', 'path', 'polyline' or 'polygon' element, an error is generated. If the attribute already exists, its value is replaced. The id parameter is the name of the marker element to be used as specified by the SVG_Define_marker command. If this name does not exist, an error is generated. The optional position parameter can be used to set the position of the marker with respect to the object. It is possible to place different markers (if desired) at the beginning, end or any other peak of a path. The values may be as follows:
Draw an arrow: $SVG:=SVG_New Draw a diagram with different markers at the beginning and end: $SVG:=SVG_New |
PROPERTIES
Product: 4D
HISTORY
Created: Composant 4D SVG v11.3 SEE ALSO ARTICLE USAGE
4D SVG Component ( 4D v13) Inherited from : SVG_SET_MARKER ( 4D v12) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||