Code example for Path

Methods: arcTocloseoffset

0
		 */ 
		private static Path strip (RectF rect, float h, float angle1, float angle2)
		{ 
			Path path;
			 
			path = new Path ();
			path.arcTo (rect, angle2, angle1 - angle2);
			path.offset (0, h);
			path.arcTo (rect, angle1, angle2 - angle1);
			path.close ();
			 
			return path;
		} 
	} 
	 
	/// The current datasets 
	private List<DataSet> dsets;
	 
	/// The enclosing rect 
	private RectF rect;