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
8 unit tests call DeltaEngine.Rendering2D.Fonts.Font.Default
Assembly: DeltaEngine.Rendering2D.Fonts (in DeltaEngine.Rendering2D.Fonts.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: FontRemarks
Examples
[Test, ApproveFirstFrameScreenshot] public void FontDefaultsToVerdana12() { new FontText(Font.Default, "Verdana12 font", Center); }
[Test, ApproveFirstFrameScreenshot] public void MultiLineTextLeftAligned() { CreateBackground(); new FontText(Font.Default, "Text\nleft\naligned", Center) { HorizontalAlignment = HorizontalAlignment.Left }; }
[Test, ApproveFirstFrameScreenshot] public void MultiLineTextRightAligned() { new FontText(Font.Default, "Text\nright\naligned", Center) { HorizontalAlignment = HorizontalAlignment.Right }; }
See Also