Given this code to draw a line:
Paint p; p = new Paint(Paint.ANTI_ALIAS_FLAG); p.setColor(android.graphics.Color.WHITE); p.setStyle(Paint.Style.FILL); p.set
No you can't; the stroke is always centered. The only things you can control are:
You must manually account for the stroke width when defining your drawing paths.