Table of Contents

Method AsImageWithBorder

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

AsImageWithBorder(SizeD, double, Color?)

Creates Image of the specified size filled with this color.

public Image AsImageWithBorder(SizeD size, double scaleFactor, Color? borderColor = null)

Parameters

size SizeD

Size of the created image in dips.

scaleFactor double

Scaling factor used to convert dips to/from pixels.

borderColor Color

Border color. Optional. If not specified, default border color is used.

Returns

Image