FileDocCategorySizeDatePackage
PathTest.javaAPI DocAndroid 5.1 API1241Thu Mar 12 22:22:30 GMT 2015android.graphics

PathTest

public class PathTest extends TestCase

Fields Summary
Constructors Summary
Methods Summary
public voidtestResetPreservesFillType()

        Path path = new Path();

        final Path.FillType defaultFillType = path.getFillType();
        final Path.FillType fillType = Path.FillType.INVERSE_EVEN_ODD;
        assertFalse(fillType.equals(defaultFillType));  // Sanity check for the test itself.

        path.setFillType(fillType);
        path.reset();
        assertEquals(path.getFillType(), fillType);