CreateBrush(String, Uri?, String?, String?, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Nullable, Transform?, Nullable) Method

Definition

Assembly Svg.Controls.Skia.Avalonia.dll

Creates a Avalonia.Media.IBrush directly from an SVG path, mirroring the markup extension in code.

public static IBrush CreateBrush(string path, Uri? baseUri = null, string? css = null, string? currentCss = null, Stretch? stretch = default(Stretch? ), AlignmentX? alignmentX = default(AlignmentX? ), AlignmentY? alignmentY = default(AlignmentY? ), TileMode? tileMode = default(TileMode? ), RelativeRect? destinationRect = default(RelativeRect? ), RelativeRect? sourceRect = default(RelativeRect? ), double? opacity = default(double? ), Transform? transform = null, RelativePoint? transformOrigin = default(RelativePoint? ))

Parameters

path
String?
baseUri
Uri?
css
String?
currentCss
String?
destinationRect
Nullable<RelativeRect>
transformOrigin
Nullable<RelativePoint>

Returns