Table of Contents

Method ImageWithColor

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ImageWithColor(int, Color?)

Gets mono svg image as Image filled using the specified color. Svg images with two or more colors are returned as is.

public virtual Image? ImageWithColor(int size, Color? color)

Parameters

size int

Svg image size.

color Color

Svg image color.

Returns

Image