Code example for Path

Methods: isEmpty

0
    public int getColor() { 
        return color;
    } 
 
    public boolean isEmpty() { 
        return normalizedPath.isEmpty();
    } 
 
    /** 
     * Gets the drawing path from the normalized doodle path. 
     */ 
    public void getDrawingPath(Matrix matrix, Path path) {
        path.set(normalizedPath);
        path.transform(matrix);
    } 
 
    @Override 
    public int describeContents() { 
        return 0; 
    }