How to mask the TextSymbol with color (see attached)? I have following existing code using SOAP SDK to connect ArcGIS Server. Is there similar thing in ArcGIS JS API? With TextSymbol, I can configure fonts, weight etc but there seems no way to mask the text with color in JS API.
SimpleFillSymbol lvFillSymbol = new SimpleFillSymbol();
lvFillSymbol.setColor(getColor(piParameters.getLabelOutlineColor(), ISymbol.DEFAULT_TEXT_OUTLINE_COLOR));
lvFillSymbol.setStyle(EsriSimpleFillStyle.esriSFSSolid);
TextSymbol lvSymbol = new TextSymbol();
lvSymbol.setMaskStyle(EsriMaskStyle.esriMSHalo);
lvSymbol.setMaskSymbol(lvFillSymbol);
lvSymbol.setMaskSize(2);
Is there anyway to mask the text symbol with color? Is there a limitation in ArcGIS JS API to achieve this?
I'd also like to do this...it seems like the JS API doesn't allow for this though. Can someone from the JS API team confirm?
Thanks,
Jason