public Shape triangle_up(float x,float y,float height){
  m_path.reset();
  m_path.moveTo(x,y + height);
  m_path.lineTo(x + height / 2,y);
  m_path.lineTo(x + height,(y + height));
  m_path.closePath();
  return m_path;
}

public Shape triangle_up ( float x , float y , float height ) { m_path . reset ( ) ; m_path . moveTo ( x , y + height ) ; m_path . lineTo ( x + height / 2 , y ) ; m_path . lineTo ( x + height , ( y + height ) ) ; m_path . closePath ( ) ; return m_path ; }
returns a up - pointing triangle of the given dimenisions .
