Provides an SVG-backed brush that can be declared in XAML resources.
public class SvgResourceExtension : MarkupExtension
kind:method, kind:property, kind:ctor. Press Esc to clear.SvgResourceExtension()Initializes a new instance of the SvgResourceExtension class.SvgResourceExtension(String)Initializes a new instance of the SvgResourceExtension class, with the provided initial key.AlignmentXGets or sets the horizontal alignment applied to the resulting brush.AlignmentYGets or sets the vertical alignment applied to the resulting brush.DestinationRectGets or sets the destination rectangle applied to the resulting brush.OpacityGets or sets the opacity applied to the resulting brush.PathGets or sets the SVG resource or file path.SourceRectGets or sets the source rectangle applied to the resulting brush.StretchGets or sets the stretch applied to the resulting brush.TileModeGets or sets the tile mode applied to the resulting brush.TransformGets or sets the transform applied to the resulting brush.TransformOriginGets or sets the transform origin applied to the resulting brush.CreateBrush(IImage, Nullable<Stretch>, Nullable<AlignmentX>, Nullable<AlignmentY>, Nullable<TileMode>, Nullable<RelativeRect>, Nullable<RelativeRect>, Nullable<Double>, Transform?, Nullable<RelativePoint>)Creates a Avalonia.Media.VisualBrush configured with the supplied image and optional overrides.CreateBrush(String, Uri?, Nullable<Stretch>, Nullable<AlignmentX>, Nullable<AlignmentY>, Nullable<TileMode>, Nullable<RelativeRect>, Nullable<RelativeRect>, Nullable<Double>, Transform?, Nullable<RelativePoint>)Creates a Avalonia.Media.IBrush directly from an SVG path for convenient code usage.ToBrush(IServiceProvider?)Creates an Avalonia.Media.IBrush instance for use in code-behind.