Table of Contents

Class ArtemisLayoutExtensions

Namespace
Artemis.UI.Shared.Extensions
Assembly
Artemis.UI.Shared.dll

Provides extension methods for the ArtemisLayout type.

public static class ArtemisLayoutExtensions
Inheritance
object
ArtemisLayoutExtensions

Methods

RenderLayout(ArtemisLayout, bool, int)

Renders the layout to a bitmap.

public static RenderTargetBitmap RenderLayout(this ArtemisLayout layout, bool previewLeds, int scale = 2)

Parameters

layout ArtemisLayout

The layout to render

previewLeds bool

A value indicating whether or not to draw LEDs on the image.

scale int

The scale at which to draw the layout.

Returns

RenderTargetBitmap

The resulting bitmap.