4D-SVG

SVG_SET_CLASS

SVG_SET_CLASS ( svgObject ; class )

Parameter Type   Description
svgObject SVG_Ref Reference of SVG element
class Text Name of class

Description

The SVG_SET_CLASS command sets the class for the object passed in svgObject. An error is generated if svgObject is not a valid reference.

See Also: http://www.w3.org/TR/SVG/styling.html#ClassAttribute

Example

Refer to the example for the SVG_Define_style command.