Creates a Avalonia.Media.VisualBrush configured with the supplied image and optional overrides.
public static IBrush CreateBrush(IImage image, 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? ))
The SVG image instance rendered by the brush.
Optional stretch applied to the brush.
Optional horizontal alignment applied to the brush.
Optional vertical alignment applied to the brush.
Optional tile mode applied to the brush.
Optional destination rectangle for the brush content.
Optional source rectangle cropping the brush content.
Optional opacity multiplier applied to the brush.
Optional transform applied to the brush.
Optional transform origin applied when transform is set.
image.