Namespace: DeltaEngine.Rendering2D.Fonts
Assembly: DeltaEngine.Rendering2D.Fonts (in DeltaEngine.Rendering2D.Fonts.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Fonts.Tests.FontTextTests
10 unit tests call DeltaEngine.Rendering2D.Fonts.FontText.Text
Assembly: DeltaEngine.Rendering2D.Fonts (in DeltaEngine.Rendering2D.Fonts.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: StringRemarks
Examples
[Test, ApproveFirstFrameScreenshot] public void TextShouldSayChangedText() { new FontText(tahoma, "To be changed", Rectangle.One) { Text = "Changed\nText" }; }
[Test, ApproveFirstFrameScreenshot] public void TextShouldBeInTheMiddleOfTheScreen() { new FontText(tahoma, "Middle", Rectangle.Zero) { DrawArea = Rectangle.One }; }
[Test, ApproveFirstFrameScreenshot] public void MultiLineTextCentrallyAligned() { new FontText(verdana, "Text\ncentrally\naligned", Center); }
See Also