Android examples for Graphics:Path
create Right Arrow Path
//package com.java2s; import android.graphics.Path; public class Main { public static Path createRightArrowPath(int aX, int aY, int aWidth, int aHeight) { Path path = new Path(); path.moveTo(aX, aY);/*www . j a va 2s .c o m*/ path.lineTo(aX + aWidth, aY + (aHeight >> 1)); path.lineTo(aX, aY + aHeight); return path; } }