Candide.CandideUI.Components.CandideTextLabel
Type JSONpublic class in Candide.CandideUI.Components
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.Components - Base type
Candide.CandideUI.CandideUiElement - Hash
4327358CFCB185DB69411F0D1F55C35CC6B57DCBC0FD84B79ECEFCF3AF6A628B
Relationships
Base type
Derived types
Referenced by types
Candide.CandideUI.ChatWindow.ChatLogMessageElementCandide.CandideUI.Components.CandideErrorTextWrapperCandide.CandideUI.Components.CandideIconLabelCandide.CandideUI.Components.Dialogue.CandideDialogueComponentCandide.CandideUI.Components.Displays.CitizenJobSkillDisplayCandide.CandideUI.Components.Displays.CoinDisplayCandide.CandideUI.Components.Displays.PlayerStatGridCombinedDisplayCandide.CandideUI.Components.Displays.PlayerStatGridDisplayCandide.CandideUI.Components.Displays.ProgressBarIconDisplayCandide.CandideUI.Components.Displays.StatDisplayCandide.CandideUI.Components.Holder.AuraHolderCandide.CandideUI.Components.Holder.CandideHotBarSlot
Fields
| Name | Visibility | Signature |
|---|---|---|
DefaultShadowColor# | public | public Microsoft.Xna.Framework.Color DefaultShadowColor |
DisabledTextColor# | public | public Microsoft.Xna.Framework.Color DisabledTextColor |
HighlightColor# | public | public System.Nullable<Microsoft.Xna.Framework.Color> HighlightColor |
MaxChars# | public | public System.Int32 MaxChars |
Settings# | private | private FontStashSharp.RichText.RichTextSettings Settings |
ShadowColor# | public | public Microsoft.Xna.Framework.Color ShadowColor |
TextColor# | public | public Microsoft.Xna.Framework.Color TextColor |
_autoEllipsisMethod# | protected | protected FontStashSharp.RichText.AutoEllipsisMethod _autoEllipsisMethod |
_autoEllipsisString# | protected | protected System.String _autoEllipsisString |
_autoEllipsisText# | protected | protected FontStashSharp.RichText.RichTextLayout _autoEllipsisText |
_errorText# | private | private FontStashSharp.RichText.RichTextLayout _errorText |
_richText# | protected | protected FontStashSharp.RichText.RichTextLayout _richText |
_stringId# | private | private Shared.Text.StringId _stringId |
_textAlign# | private | private FontStashSharp.RichText.TextHorizontalAlignment _textAlign |
_textStyle# | private | private Candide.CandideUI.Components.CandideTextStyle _textStyle |
_wrap# | private | private System.Boolean _wrap |
Properties
| Name | Visibility | Signature |
|---|---|---|
AutoEllipsisMethod# | public | public FontStashSharp.RichText.AutoEllipsisMethod AutoEllipsisMethod |
AutoEllipsisString# | public | public System.String AutoEllipsisString |
StringId# | public | public Shared.Text.StringId StringId |
Text# | public | public System.String Text |
TextAlign# | public | public FontStashSharp.RichText.TextHorizontalAlignment TextAlign |
TextStyle# | public | public Candide.CandideUI.Components.CandideTextStyle TextStyle |
Wrap# | public | public System.Boolean Wrap |
Methods
ApplyAutoEllipsis
#
private FontStashSharp.RichText.RichTextLayout ApplyAutoEllipsis(System.Single width, System.Single height)
Method metadata
- Visibilityprivate
- Return type
FontStashSharp.RichText.RichTextLayout - StaticFalse
- VirtualFalse
- Hash
D2B5DA92CF91C7AEFCF67DB73E16C49828FB079C987F33A33D44687DAC9259B0 - Body hash
18678F5D53614BCCE52E0EBF3E12D3C47324B5C9E48DCD30D29935126F9CD467 - IL size567
Referenced calls
System.Nullable<System.Int32>::.ctor(!0)FontStashSharp.RichText.RichTextLayout::Measure(System.Nullable<System.Int32>)FontStashSharp.RichText.RichTextLayout::get_Text()FontStashSharp.RichText.RichTextLayout::.ctor()FontStashSharp.RichText.RichTextLayout::set_Text(System.String)FontStashSharp.RichText.RichTextLayout::get_Font()FontStashSharp.RichText.RichTextLayout::set_Font(FontStashSharp.SpriteFontBase)FontStashSharp.RichText.RichTextLayout::get_VerticalSpacing()FontStashSharp.RichText.RichTextLayout::set_VerticalSpacing(System.Int32)FontStashSharp.RichText.RichTextLayout::get_Width()FontStashSharp.RichText.RichTextLayout::set_Width(System.Nullable<System.Int32>)FontStashSharp.RichText.RichTextLayout::get_CalculateGlyphs()FontStashSharp.RichText.RichTextLayout::set_CalculateGlyphs(System.Boolean)FontStashSharp.RichText.RichTextLayout::get_SupportsCommands()FontStashSharp.RichText.RichTextLayout::set_SupportsCommands(System.Boolean)System.String::get_Length()System.String::Substring(System.Int32, System.Int32)Candide.CandideUI.Components.CandideTextLabel::get_AutoEllipsisString()System.String::Concat(System.String, System.String)Candide.CandideUI.Components.CandideTextLabel::<ApplyAutoEllipsis>g__GetMeasure|45_0(CandideTextLabel.<>c__DisplayClass45_0&)System.Math::Abs(System.Single)Candide.CandideUI.Components.CandideTextLabel::get_AutoEllipsisMethod()System.String::LastIndexOf(System.Char, System.Int32)
BuildRtlError
#
protected System.String BuildRtlError(System.Exception ex)
Method metadata
- Visibilityprotected
- Return type
System.String - StaticTrue
- VirtualFalse
- Hash
7035216029F49954A3C0814B9D342BD8F8BCBD320B0C0BB06E8E30E5170308EF - Body hash
9D124AE1BF92619DC87ACD5B0E729985C0CFC20357EC90B6CF87AF9E55531EB9 - IL size17
Referenced calls
System.Exception::get_Message()System.String::Concat(System.String, System.String)
String literals
RTL Error:
GetFont
#
private FontStashSharp.SpriteFontBase GetFont(Candide.CandideUI.Components.CandideTextStyle style)
Method metadata
- Visibilityprivate
- Return type
FontStashSharp.SpriteFontBase - StaticTrue
- VirtualFalse
- Hash
0EC961973D239B77A958C2E8C3D076D9315FE103A366E6FB13A5ABDD5993E114 - Body hash
8D628B13D5CF2F104A4415FB81A1353255C417B49FF6CE1882D25CC3F6223EDF - IL size229
Referenced calls
Candide.Graphics.Fonts.CandideFont::get_RenderFont()System.ArgumentOutOfRangeException::.ctor()
InternalArrange
#
public System.Void InternalArrange()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
F5B2CBC208F44DB8E2A1E0772A207F5093A7888EAA47B36CF0E97C73E3406E9B - Body hash
47FA7077CC49A5BC64B07F9E95E75A7ECB879E5E8A76B08B0570384175663DDD - IL size53
Referenced calls
Candide.CandideUI.CandideUiElement::InternalArrange()Candide.CandideUI.CandideUiElement::get_ActualBounds()System.Nullable<System.Int32>::.ctor(!0)FontStashSharp.RichText.RichTextLayout::set_Width(System.Nullable<System.Int32>)
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
1F52C086D9E9FCC1ACF3559DAAB4320A64C543375BDF3169990EE3360C8B209D - Body hash
362B904E91FB7FC9CF0AE2FB9FAF954AB501CF8C772EF580839ED70925087169 - IL size423
Referenced calls
FontStashSharp.RichText.RichTextLayout::get_Text()System.String::IsNullOrEmpty(System.String)Candide.CandideUI.CandideUiElement::get_Enabled()FontStashSharp.RichText.RichTextLayout::set_IgnoreColorCommand(System.Boolean)Candide.CandideUI.CandideUiElement::get_ActualBounds()Candide.CandideUI.Components.CandideTextLabel::get_TextAlign()FontStashSharp.RichText.RichTextLayout::Measure(System.Nullable<System.Int32>)Microsoft.Xna.Framework.Vector2::get_Zero()Candide.CandideUI.Components.CandideTextLabel::get_TextStyle()System.ArgumentOutOfRangeException::.ctor()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)System.Nullable<Microsoft.Xna.Framework.Color>::get_HasValue()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Nullable<Microsoft.Xna.Framework.Color>::get_Value()Candide.CandideUI.UiRenderContext::DrawRectangle(Microsoft.Xna.Framework.Vector2, System.Single, System.Single, Microsoft.Xna.Framework.Color, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::get_One()Candide.CandideUI.UiRenderContext::DrawRichText(FontStashSharp.RichText.RichTextLayout, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Vector2, System.Single, System.Boolean, System.Single, FontStashSharp.RichText.TextHorizontalAlignment, System.Int32)
InternalMeasure
#
protected Microsoft.Xna.Framework.Vector2 InternalMeasure(Microsoft.Xna.Framework.Vector2 availableSize)
Method metadata
- Visibilityprotected
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualTrue
- Hash
E429E68B88D0239DF32898F24A33F7CC28D5976E1A3954B661581140E37D6B3D - Body hash
6633593F8FCB051AA989C660976E9C1F659E7D8916B5F31EFFB18D2B58F886D5 - IL size380
Referenced calls
Candide.CandideUI.Components.CandideTextLabel::ApplyAutoEllipsis(System.Single, System.Single)System.Nullable<System.Int32>::.ctor(!0)FontStashSharp.RichText.RichTextLayout::Measure(System.Nullable<System.Int32>)Microsoft.Xna.Framework.Point::ToVector2()FontStashSharp.RichText.RichTextLayout::get_Font()FontStashSharp.RichText.RichTextLayout::set_Font(FontStashSharp.SpriteFontBase)Candide.CandideUI.Components.CandideTextLabel::BuildRtlError(System.Exception)FontStashSharp.RichText.RichTextLayout::set_Text(System.String)FontStashSharp.SpriteFontBase::get_LineHeight()
InvalidateMeasure
#
public System.Void InvalidateMeasure()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
848D01D147724324A063DC6F435811CE077A7C63E8334EE79F503E213847532A - Body hash
93C24E537E7F46C717EED35593E57C9586A6C5C5A17954B54A63CAF90B7A7C62 - IL size13
InvalidateStyle
#
private System.Void InvalidateStyle()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3C1CC11AB6E391EE799D8C3AD416620FC8C34EA4B7D9CF460F62AD5AC5A0D1DB - Body hash
6235AD1D365C008EA652B5B3CB07659F0504EC86336AD846106FF3B80F7EC24D - IL size23
Referenced calls
Candide.CandideUI.Components.CandideTextLabel::GetFont(Candide.CandideUI.Components.CandideTextStyle)FontStashSharp.RichText.RichTextLayout::set_Font(FontStashSharp.SpriteFontBase)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4A78BCE282144201A1AAE24E09C2B28AF6AE9CE81845D1B1437CD83EE2AC158A - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1