public void drawVertex(Map<String,Object> attrs){
  int width=mxUtils.getInt(attrs,"width");
  int height=mxUtils.getInt(attrs,"height");
  if (width > 0 && height > 0) {
    int x=(int)Math.round(mxUtils.getDouble(attrs,"x"));
    int y=(int)Math.round(mxUtils.getDouble(attrs,"y"));
    canvas.drawVertex(x,y,width,height,attrs);
  }
}

public void drawVertex ( Map < String , Object > attrs ) { int width = mxUtils . getInt ( attrs , "width" ) ; int height = mxUtils . getInt ( attrs , "height" ) ; if ( width > 0 && height > 0 ) { int x = ( int ) Math . round ( mxUtils . getDouble ( attrs , "x" ) ) ; int y = ( int ) Math . round ( mxUtils . getDouble ( attrs , "y" ) ) ; canvas . drawVertex ( x , y , width , height , attrs ) ; } }
draws the specified vertex using the canvas .
