struct TextFlag

in global :: Sandbox

Flags dictating position of text (and other elements). Default alignment on each axis is Top, Left. Values for each axis can be combined into a single value, conflicting values have undefined behavior.


public static TextFlag Left

Align to the left on the X axis.

public static TextFlag Right

Align to the right on the X axis.

public static TextFlag CenterHorizontally

Align in the center on the X axis.

public static TextFlag Top

Anchor to the top on the Y axis.

public static TextFlag Bottom

Anchor to the bottom on the Y axis.

public static TextFlag CenterVertically

Align in the center on the Y axis.

public static TextFlag LeftTop

Anchor to the top left corner.

public static TextFlag LeftCenter

Anchor to the left side, center vertically.

public static TextFlag LeftBottom

Anchor to the bottom left corner.

public static TextFlag CenterTop

Anchor to the top side, center horizontally.

public static TextFlag Center

Align in the center on both axises.

public static TextFlag CenterBottom

Anchor to the bottom side, center horizontally.

public static TextFlag RightTop

Anchor to the top right corner.

public static TextFlag RightCenter

Anchor to the right side, center vertically.

public static TextFlag RightBottom

Anchor to the bottom right corner.

public static TextFlag SingleLine

Limit the text to a single line. Used in Graphics.DrawText and Graphics.MeasureText.

public static TextFlag DontClip

Do not cutoff text beyond its bounds. Used in Graphics.DrawText and Graphics.MeasureText.

public static TextFlag WrapAnywhere

😔 No documentation found.

public static TextFlag Absolute

😔 No documentation found.

public static TextFlag Justify

😔 No documentation found.

public static TextFlag None

😔 No documentation found.

public int value__

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public TypeCode GetTypeCode( )

😔 No documentation found.

public string ToString( string format, IFormatProvider provider )

😔 No documentation found.

public string ToString( IFormatProvider provider )

😔 No documentation found.

public string ToString( string format )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public int CompareTo( object target )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public static TextFlag WordWrap

😔 No documentation found.

public bool HasFlag( Enum flag )

😔 No documentation found.