Method FromSvgStream
FromSvgStream(Stream, int, int, Color?)
public static ImageSet FromSvgStream(Stream stream, int width, int height, Color? color = null)
Parameters
streamStreamStream with Svg data.
widthintImage width.
heightintImage height.
colorColorSvg 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
streamStreamStream with svg data.
sizeSizeIImage size in pixels.
color1ColorSvg fill color 1.
color2ColorSvg fill color 2.