Android examples for Graphics:Path
create Down Arrow Path
//package com.java2s; 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);// w w w. j a v a 2 s.co m path.lineTo(aX + (aWidth >> 1), aY + aHeight); path.lineTo(aX + aWidth, aY); return path; } }