Android examples for android.graphics:Path
create Down Arrow Path
import android.graphics.Path; public class Main { public static Path createDownArrowPath(int aX, int aY, int aWidth, int aHeight) { Path path = new Path(); path.moveTo(aX, aY);/*from w w w . j a va 2 s. co m*/ path.lineTo(aX + (aWidth >> 1), aY + aHeight); path.lineTo(aX + aWidth, aY); return path; } }