Android examples for android.graphics:Path
create Left Arrow Path
import android.graphics.Path; public class Main { public static Path createLeftArrowPath(int aX, int aY, int aWidth, int aHeight) { Path path = new Path(); path.moveTo(aX + aWidth, aY);/*from w w w. j av a2s. com*/ path.lineTo(aX, aY + (aHeight >> 1)); path.lineTo(aX + aWidth, aY + aHeight); return path; } }