101102103104105106107108109110111
_descent = app.textDescent(); _width = (_text==null)? 0 : (_width<0)? -app.textWidth(_text) : app.textWidth(_text); app.popStyle(); } @Override public HText width(float w) { if(w<0 == _width>0) _width = -_width;
126127128129130131132133134135
if (mapDisplayShader != null) { mapDisplayShader.shadeWithMarkers(canvasPG); } canvasPG.pushStyle(); canvasPG.image(offscreenCutoffPG, 0, 0); canvasPG.popStyle(); canvasPG.popMatrix(); // canvasPG.resetShader(); } }