콘텐츠로 이동

SimpleSvgSource class

이 콘텐츠는 아직 번역되지 않았습니다.

Draws an SVG that reduces to plain fills, strokes and clips, without the MewUI.Svg extension.

public sealed class SimpleSvgSource : MewObject, INotifyImageChanged, IVectorImageSource
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.

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.