RuleBuilder Class
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.
public class RuleBuilder : IAttributeSetter, IPresentationAttributeSetter
Constructors
| Name | Description |
|---|---|
| RuleBuilder() | The default constructor. |
Methods
| Name | Description |
|---|---|
| Attribute(string, string) | Sets or updates a style attribute with a specified value. |
| Build() | Builds the final CSS style string from the accumulated style attributes. |
See Also
- interface IAttributeSetter
- interface IPresentationAttributeSetter
- namespace Aspose.Svg.Builder
- assembly Aspose.SVG