add_rule method
add_rule
Adds a CSS rule to the style element.
Returns
The SVGStyleElementBuilder instance for chaining.
def add_rule(self, selector, rules):
...
Parameter | Type | Description |
---|---|---|
selector | str | The CSS selector for the rule. |
rules | str | The CSS rules as a string. |
See Also
- module
aspose.svg.builder
- class
SVGStyleElementBuilder