media method
media
Sets the ‘media’ attribute of the SVG ‘style’ element. This attribute specifies the media for which the styles are intended, allowing the styles to be conditional on the media type.
Returns
The SVGStyleElementBuilder instance for chaining.
def media(self, media_descriptors):
...
Parameter | Type | Description |
---|---|---|
media_descriptors | str | The media descriptor string (e.g., “screen”, “print”). |
See Also
- module
aspose.svg.builder
- class
SVGStyleElementBuilder