Candide.CandideUI.ImmediateUi.ImmediateCandideTextLabel
Type JSONpublic class in Candide.CandideUI.ImmediateUi
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.ImmediateUi - Base type
System.Object - Hash
851E86A952EBFF5CD7C11B25D3892D00BB57398CDCCA24B33583B82C298DC37E
Relationships
Base type
System.Object
Methods
Draw
#
public System.Void Draw(Candide.CandideUI.UiRenderContext context, FontStashSharp.SpriteFontBase font, System.String text, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Color textColor)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
21E4274518855B1565DE30948DCE7CA58146375DD7073E5D68838859EABB187C - Body hash
F3CBFD3E858A7B75C96349EC950C4BD7C885880A4CEE272815F8F2FAA1BB8023 - IL size82
Referenced calls
Microsoft.Xna.Framework.Vector2::get_One()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_Black()Candide.CandideUI.UiRenderContext::DrawString(FontStashSharp.SpriteFontBase, System.String, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Vector2, System.Single, System.Boolean, System.Single, System.Int32)
DrawWithWrap
#
public Microsoft.Xna.Framework.Vector2 DrawWithWrap(Candide.CandideUI.UiRenderContext context, FontStashSharp.RichText.RichTextLayout layout, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Color textColor, System.Single width, System.Int32 verticalSpacing)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
56E646F74538BBF346D0654F8951A6BFD8CB488A3324A0C7767833F808B7D3F3 - Body hash
2B216CE9BEFDE78D9B319A401283D32B260E79F5A5E9A904B8E0D1C126AAE4E1 - IL size119
Referenced calls
System.Nullable<System.Int32>::.ctor(!0)FontStashSharp.RichText.RichTextLayout::set_Width(System.Nullable<System.Int32>)FontStashSharp.RichText.RichTextLayout::set_VerticalSpacing(System.Int32)FontStashSharp.RichText.RichTextLayout::Measure(System.Nullable<System.Int32>)Microsoft.Xna.Framework.Vector2::get_One()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_Black()Candide.CandideUI.UiRenderContext::DrawString(FontStashSharp.RichText.RichTextLayout, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Vector2, System.Single, System.Boolean, System.Single, System.Int32)Microsoft.Xna.Framework.Point::ToVector2()
DrawWithWrapForQuickTesting
#
public Microsoft.Xna.Framework.Vector2 DrawWithWrapForQuickTesting(Candide.CandideUI.UiRenderContext context, FontStashSharp.SpriteFontBase font, System.String text, Microsoft.Xna.Framework.Vector2 position, Microsoft.Xna.Framework.Color textColor, System.Single width, System.Int32 verticalSpacing)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
815B4955FF0064B985469F4707A96441E5251C4915F4EDDAC3F6E23A399C6DB3 - Body hash
1CCA37AA4C8957D04877EA51497359AC9B82A89C978A46D1972DC5B7AD12F910 - IL size170
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()FontStashSharp.RichText.RichTextLayout::.ctor()System.Nullable<System.Int32>::.ctor(!0)FontStashSharp.RichText.RichTextLayout::set_Width(System.Nullable<System.Int32>)FontStashSharp.RichText.RichTextLayout::set_Font(FontStashSharp.SpriteFontBase)FontStashSharp.RichText.RichTextLayout::set_IgnoreColorCommand(System.Boolean)FontStashSharp.RichText.RichTextLayout::set_Text(System.String)FontStashSharp.RichText.RichTextLayout::set_VerticalSpacing(System.Int32)FontStashSharp.RichText.RichTextLayout::set_SupportsCommands(System.Boolean)FontStashSharp.RichText.RichTextLayout::set_CalculateGlyphs(System.Boolean)FontStashSharp.RichText.RichTextLayout::Measure(System.Nullable<System.Int32>)Microsoft.Xna.Framework.Vector2::get_One()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_Black()Candide.CandideUI.UiRenderContext::DrawString(FontStashSharp.RichText.RichTextLayout, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, Microsoft.Xna.Framework.Vector2, System.Single, System.Boolean, System.Single, System.Int32)Microsoft.Xna.Framework.Point::ToVector2()
GetLayout
#
public FontStashSharp.RichText.RichTextLayout GetLayout(FontStashSharp.SpriteFontBase font, System.String text)
Method metadata
- Visibilitypublic
- Return type
FontStashSharp.RichText.RichTextLayout - StaticTrue
- VirtualFalse
- Hash
B384CC9C2651192E21F5D567531F363BDD0D737E828B57DB39A14DEC4135F98F - Body hash
E5D22D7D99F8C100375313B94DEF352F267058B273CF218E7B5A4B3101D98467 - IL size41
Referenced calls
FontStashSharp.RichText.RichTextLayout::.ctor()FontStashSharp.RichText.RichTextLayout::set_Font(FontStashSharp.SpriteFontBase)FontStashSharp.RichText.RichTextLayout::set_IgnoreColorCommand(System.Boolean)FontStashSharp.RichText.RichTextLayout::set_Text(System.String)FontStashSharp.RichText.RichTextLayout::set_SupportsCommands(System.Boolean)FontStashSharp.RichText.RichTextLayout::set_CalculateGlyphs(System.Boolean)
Measure
#
public Microsoft.Xna.Framework.Vector2 Measure(FontStashSharp.SpriteFontBase font, System.String text)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
2F85779512605FB8566F94D5666612FBAA3FFA7E65E2AE7C051278AA7DDB38DC - Body hash
982BE333E7405C3617137713DE21433405A5266B0E5A31FEFD69B4364C31BF9E - IL size62
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::get_One()System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)FontStashSharp.SpriteFontBase::TextBounds(System.String, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
Called by
Candide.CandideUI.ImmediateUi.ImmediateCandideIconLabel::DrawCandide.CandideUI.ImmediateUi.ImmediateCandideIconLabel::MeasureCandide.CandideUI.ImmediateUi.ImmediateIMECandidatesText::DrawCandide.CandideUI.ImmediateUi.ImmediateIMECandidatesText::MeasureCandide.CandideUI.ImmediateUi.ImmediateKeybindLabel::DrawCandide.CandideUI.ImmediateUi.ImmediateKeybindLabel::MeasureCandide.PlayerMode.Construction.ConstructionModeManager::DrawUI