// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. using System; namespace SixLabors.Fonts { /// /// Defines modes to determine the layout direction of text. /// [Flags] public enum LayoutMode { /// /// Text is laid out horizontally from top to bottom. /// HorizontalTopBottom = 0, /// /// Text is laid out horizontally from bottom to top. /// HorizontalBottomTop = 1 << 0, /// /// Text is laid out vertically from left to right. /// VerticalLeftRight = 1 << 1, /// /// Text is laid out vertically from right to left. /// VerticalRightLeft = 1 << 2, /// /// Text is laid out vertically from left to right. Horizontal glyphs are rotated 90 degrees clockwise. /// VerticalMixedLeftRight = 1 << 3, /// /// Text is laid out vertically from right to left. Horizontal glyphs are rotated 90 degrees clockwise. /// VerticalMixedRightLeft = 1 << 4, } }