|
| Vector2 | Size [get, set] |
| virtual string | Text [get, set] |
| TextAnchor | TextAnchor [get, set] |
| TextOrientation | TextOrientation [get, set] |
| BitmapFont | Font [get, set] |
| float | FontScale [get, set] |
| Vector2 | FontSpacing [get, set] |
| bool | WordWrap [get, set] |
| bool | Ellipsis [get, set] |
| int | MaxLines [get, set] |
| Color | Color [get, set] |
| bool | DropShadow [get, set] |
| bool | TextureLinearFilter [get, set] |
| WidgetInput | WidgetsHierarchyInput [get, set] |
| WidgetInput | Input [get] |
| Matrix | LayoutTransform [get, set] |
| Matrix | RenderTransform [get, set] |
| Matrix | GlobalTransform [get] |
| float | GlobalScale [get] |
| Matrix | InvertedGlobalTransform [get] |
| BoundingRectangle | GlobalBounds [get] |
| Color | ColorTransform [get, set] |
| Color | GlobalColorTransform [get] |
| virtual string | Name [get, set] |
| object | Tag [get, set] |
| object | ExtraData [get, set] |
| virtual bool | IsVisible [get, set] |
| virtual bool | IsEnabled [get, set] |
| virtual bool | IsHitTestVisible [get, set] |
| bool | IsVisibleGlobal [get] |
| bool | IsEnabledGlobal [get] |
| bool | ClampToBounds [get, set] |
| virtual Vector2 | Margin [get, set] |
| virtual float | MarginLeft [get, set] |
| virtual float | MarginRight [get, set] |
| virtual float | MarginTop [get, set] |
| virtual float | MarginBottom [get, set] |
| virtual Vector4 | Margin4 [get, set] |
| virtual float | MarginHorizontalSum [get] |
| virtual float | MarginVerticalSum [get] |
| virtual Vector2 | MarginHorizontalSumAndVerticalSum [get] |
| virtual WidgetAlignment | HorizontalAlignment [get, set] |
| virtual WidgetAlignment | VerticalAlignment [get, set] |
| Vector2 | ActualSize [get] |
| Vector2 | DesiredSize [get, set] |
| Vector2 | ParentDesiredSize [get] |
| bool | IsUpdateEnabled = true [get, set] |
| bool | IsDrawEnabled = true [get, set] |
| bool | IsDrawRequired [get, set] |
| bool | IsOverdrawRequired [get, set] |
| XElement | Style [set] |
| ContainerWidget | ParentWidget [get, set] |
| Widget | RootWidget [get] |
◆ FontTextWidget()
| Game.FontTextWidget.FontTextWidget |
( |
| ) |
|
◆ CalculateLineHeight()
| float Game.FontTextWidget.CalculateLineHeight |
( |
| ) |
|
◆ Draw()
| override void Game.FontTextWidget.Draw |
( |
DrawContext | dc | ) |
|
|
virtual |
◆ MeasureOverride()
| override void Game.FontTextWidget.MeasureOverride |
( |
Vector2 | parentAvailableSize | ) |
|
|
virtual |
◆ UpdateLines()
| virtual void Game.FontTextWidget.UpdateLines |
( |
float | availableWidth, |
|
|
float | availableHeight ) |
|
virtual |
◆ m_ellipsis
| bool Game.FontTextWidget.m_ellipsis |
◆ m_font
◆ m_fontScale
| float Game.FontTextWidget.m_fontScale |
◆ m_fontSpacing
| Vector2 Game.FontTextWidget.m_fontSpacing |
◆ m_lines
| List<string> Game.FontTextWidget.m_lines = [] |
◆ m_linesAvailableHeight
| float? Game.FontTextWidget.m_linesAvailableHeight |
◆ m_linesAvailableWidth
| float? Game.FontTextWidget.m_linesAvailableWidth |
◆ m_linesSize
| Vector2? Game.FontTextWidget.m_linesSize |
◆ m_maxLines
| int Game.FontTextWidget.m_maxLines = int.MaxValue |
◆ m_text
| string Game.FontTextWidget.m_text = string.Empty |
◆ m_textOrientation
◆ m_usedebug
| bool Game.FontTextWidget.m_usedebug |
◆ m_wordWrap
| bool Game.FontTextWidget.m_wordWrap |
◆ Color
| Color Game.FontTextWidget.Color |
|
getset |
◆ DropShadow
| bool Game.FontTextWidget.DropShadow |
|
getset |
◆ Ellipsis
| bool Game.FontTextWidget.Ellipsis |
|
getset |
◆ Font
◆ FontScale
| float Game.FontTextWidget.FontScale |
|
getset |
◆ FontSpacing
| Vector2 Game.FontTextWidget.FontSpacing |
|
getset |
◆ MaxLines
| int Game.FontTextWidget.MaxLines |
|
getset |
◆ Size
◆ Text
| virtual string Game.FontTextWidget.Text |
|
getset |
◆ TextAnchor
◆ TextOrientation
◆ TextureLinearFilter
| bool Game.FontTextWidget.TextureLinearFilter |
|
getset |
◆ WordWrap
| bool Game.FontTextWidget.WordWrap |
|
getset |
该类的文档由以下文件生成:
- E:/sc/doxygen/SurvivalcraftApi 1.8.2.3/Survivalcraft.Windows/Widget/FontTextWidget.cs