ProtectedconstructorOptionalisInternalConstructor: booleanClears all inline style properties.
Gets a CSS property value as a string.
The CSS property name.
The property value string, or empty if not set.
Parses and applies a CSS declaration string.
CSS declarations (e.g., "color: red; padding: 10px").
Removes a CSS property.
The CSS property name to remove.
Sets the border radius.
Border radius in points.
Sets the font size.
Font size in points.
Sets the height property.
Height in points, or negative for auto.
Sets margin (all sides).
Margin in points.
Sets margin with individual sides.
Top margin in points.
Right margin in points.
Bottom margin in points.
Left margin in points.
Sets the opacity.
Opacity value (0.0 to 1.0).
Sets padding (all sides).
Padding in points.
Sets padding with individual sides.
Top padding in points.
Right padding in points.
Bottom padding in points.
Left padding in points.
Sets a CSS property value.
The CSS property name (e.g., "background-color").
The CSS value string (e.g., "#FF0000", "10px").
Sets the width property.
Width in points, or negative for auto.
Inline style storage for per-element style overrides.
Provides a way to set CSS properties directly on an element, similar to the DOM's element.style API. Inline styles have the highest specificity in CSS cascade.
Example usage in TypeScript: