Class ArtemisLayoutExtensions
- Namespace
- Artemis.UI.Shared.Extensions
- Assembly
- Artemis.UI.Shared.dll
Provides extension methods for the ArtemisLayout type.
public static class ArtemisLayoutExtensions
- Inheritance
-
objectArtemisLayoutExtensions
Methods
RenderLayout(ArtemisLayout, bool, int)
Renders the layout to a bitmap.
public static RenderTargetBitmap RenderLayout(this ArtemisLayout layout, bool previewLeds, int scale = 2)
Parameters
layoutArtemisLayoutThe layout to render
previewLedsboolA value indicating whether or not to draw LEDs on the image.
scaleintThe scale at which to draw the layout.
Returns
- RenderTargetBitmap
The resulting bitmap.