TextWrapperTests FontDoesNotFitInTooSmallArea Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering2D.Fonts.Tests
Assembly: DeltaEngine.Rendering2D.Fonts.Tests (in DeltaEngine.Rendering2D.Fonts.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void FontDoesNotFitInTooSmallArea()
Examples

[Test]
public void FontDoesNotFitInTooSmallArea()
{
    var lines = textWrapper.SplitTextIntoLines(ThreeLineText,
        new Size(70, fontDescription.PixelLineHeight / 2.0f), true);
    Assert.AreEqual(0, lines.Count);
}
See Also