Code example for Path

Methods: offset

0
		float offY = oy-dpPos.y;
		 
		dpPos.x += offX;
		dpPos.y += offY;
		 
		drawable.offset(offX, offY);
		 
		drawRect.offset(offX, offY);
	} 
	 
	public RectF getSpriteRect() {
		return drawRect;
	} 
	 
	public void setVX(float dx) {
		dpVel.x = dx;
	} 
	 
	public void setVY(float dy) {
		dpVel.y = dy;
	}