2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
27 public string text { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
32 public Font font { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
37 public float fontSize { [MethodImpl(MethodImplOptions.InternalCall)]
get; [MethodImpl(MethodImplOptions.InternalCall)]
set; }
50 INTERNAL_set_textHorizontalAlignment((
int)value);
65 INTERNAL_set_textVerticalAlignment((
int)value);
71 [MethodImpl(MethodImplOptions.InternalCall)]
72 private extern int INTERNAL_get_textHorizontalAlignment();
74 [MethodImpl(MethodImplOptions.InternalCall)]
75 private extern void INTERNAL_set_textHorizontalAlignment(
int value);
77 [MethodImpl(MethodImplOptions.InternalCall)]
78 private extern int INTERNAL_get_textVerticalAlignment();
80 [MethodImpl(MethodImplOptions.InternalCall)]
81 private extern void INTERNAL_set_textVerticalAlignment(
int value);
Font font
Get or set the font
float fontSize
Get or set the font size
TextVerticalAlignment
TextVerticalAlignment enum
TextHorizontalAlignment
TextHorizontalAlignment enum
TextVerticalAlignment textVerticalAlignment
Get or set text vertical alignment
string text
Get or set the text
TextHorizontalAlignment textHorizontalAlignment
Get or set text horizontal alignment