Method FromSvgStream
FromSvgStream(Stream, int, int, Color?)
public static ImageSet 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
FromSvgStream(Stream, SizeI, Color?, Color?)
Initializes a tuple with two instances of the ImageSet class from the specified Stream which contains svg data.
public static (ImageSet Normal, ImageSet Disabled) FromSvgStream(Stream stream, SizeI size, Color? color1, Color? color2)
Parameters
stream
StreamStream with svg data.
size
SizeIImage size in pixels.
color1
ColorSvg fill color 1.
color2
ColorSvg fill color 2.