set=>thrownewInvalidOperationException("You can't set AutoSizeAxes of this container");
}
/// <summary>
/// Gets or sets the text to be displayed.
/// </summary>
publicLocalisableStringText
{
get=>text.Text;
set=>text.Text=value;
}
/// <summary>
/// Contains information on the font used to display the text.
/// </summary>
publicFontUsageFont
{
get=>text.Font;
set=>text.Font=value;
}
/// <summary>
/// True if a shadow should be displayed around the text.
/// </summary>
publicboolShadow
{
get=>text.Shadow;
set=>text.Shadow=value;
}
/// <summary>
/// The colour of the shadow displayed around the text. A shadow will only be displayed if the <see cref="Shadow"/> property is set to true.
/// </summary>
publicColor4ShadowColour
{
get=>text.ShadowColour;
set=>text.ShadowColour=value;
}
/// <summary>
/// The offset of the shadow displayed around the text. A shadow will only be displayed if the <see cref="Shadow"/> property is set to true.
/// </summary>
publicVector2ShadowOffset
{
get=>text.ShadowOffset;
set=>text.ShadowOffset=value;
}
/// <summary>
/// True if the <see cref="SpriteText"/>'s vertical size should be equal to <see cref="FontUsage.Size"/> (the full height) or precisely the size of used characters.
/// Set to false to allow better centering of individual characters/numerals/etc.