
## RuleBuilder class

A builder class for constructing CSS style rules.
This class is used to dynamically build a string of CSS styles by setting various attributes and their values.



The RuleBuilder type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/svg/python-net/aspose.svg.builder/rulebuilder/__init__/#) | Constructs a new instance of RuleBuilder |


### Methods
| Method | Description |
| :- | :- |
| [build](/svg/python-net/aspose.svg.builder/rulebuilder/build/#) | Builds the final CSS style string from the accumulated style attributes. |
| [attribute](/svg/python-net/aspose.svg.builder/rulebuilder/attribute/#str-str) | Sets or updates a style attribute with a specified value. |



### See Also
* module [`aspose.svg.builder`](..)
* class [`IAttributeSetter`](/svg/python-net/aspose.svg.builder/iattributesetter)
