SimpleSvgSource class
Draws an SVG that reduces to plain fills, strokes and clips, without the MewUI.Svg extension.
public sealed class SimpleSvgSource : MewObject, INotifyImageChanged, IVectorImageSourcePublic Members
Section titled “Public Members”| name | description |
|---|---|
| static FromBytes(…) | Reads UTF-8 SVG markup. |
| static FromFile(…) | Reads an SVG file. |
| static FromResource(…) | Reads an SVG from an embedded assembly resource. |
| static FromString(…) | Reads SVG markup; throws FormatException when the markup is malformed. |
| IntrinsicSize { get; } | |
| Tint { get; set; } | Gets or sets the tint color that replaces the fill and stroke colors inherited from the root element; null keeps the source colors. |
| event Changed | |
| CreateImage(…) | |
| Render(…) | |
| static readonly TintProperty | The tint color that replaces the fill and stroke colors inherited from the root; null keeps the source colors. |
Remarks
Section titled “Remarks”Shapes, groups, transforms, inherited presentation attributes, inline style, solid and gradient paint, and clipPath are read; style blocks, class, filter, mask, pattern, text, image and use are not.
See Also
Section titled “See Also”- class MewObject
- interface INotifyImageChanged
- interface IVectorImageSource
- namespace Aprillz.MewUI.Resources