Search in sources :

Example 1 with TextBoundsAndLineBreaksWrap

use of com.ait.lienzo.client.core.shape.TextBoundsAndLineBreaksWrap in project kie-wb-common by kiegroup.

the class TextWrapperProviderTest method testBoundsAndLineBreaks.

@Test
public void testBoundsAndLineBreaks() {
    final ITextWrapper wrapper = TextWrapperProvider.get(TextWrapperStrategy.BOUNDS_AND_LINE_BREAKS, text);
    assertTrue(wrapper instanceof TextBoundsAndLineBreaksWrap);
}
Also used : ITextWrapper(com.ait.lienzo.client.core.shape.ITextWrapper) TextBoundsAndLineBreaksWrap(com.ait.lienzo.client.core.shape.TextBoundsAndLineBreaksWrap) Test(org.junit.Test)

Aggregations

ITextWrapper (com.ait.lienzo.client.core.shape.ITextWrapper)1 TextBoundsAndLineBreaksWrap (com.ait.lienzo.client.core.shape.TextBoundsAndLineBreaksWrap)1 Test (org.junit.Test)1