Table of Contents

Enum Alignment

Namespace
Egami
Assembly
Egami.dll

Where a smaller image sits across the layout's direction: at the start (left or top), the center or the end.

public enum Alignment

Fields

Center = 1

Centered, rounding toward the start.

End = 2

At the bottom of a row, or the right of a column.

Start = 0

At the top of a row, or the left of a column. The default.

Examples

// Side by side with a 10-pixel white gap, the shorter image centered vertically (ImageMagick's +append).
using Raster strip = Raster.Append([duck, egret], Axis.Horizontal, spacing: 10, background: Rgba8.White, alignment: Alignment.Center);

// Stacked, as -append does.
using Raster column = Raster.Append([duck, egret], Axis.Vertical);