Method FromSvgStream
FromSvgStream(Stream, int, int, Color?)
public static Image FromSvgStream(Stream stream, int width, int height, Color? color = null)
Parameters
stream
StreamStream with svg data.
width
intImage width.
height
intImage height.
color
ColorSvg fill color. Optional. If provided, svg fill color is changed to the specified value.
Returns
- Image
Image instance with dimensions specified in
width
andheight
and data loaded fromstream
.