Hello,
I have an issue with the TextStyle mask.
This is my code:
TextStyle textStyle = new TextStyle();
textStyle.TextColumnName = "NAME";
textStyle.Mask = new AreaStyle(new GeoSolidBrush(GeoColor.StandardColors.Blue));
textStyle.Font = new GeoFont("Arial", 12);
textStyle.TextSolidBrush = new GeoSolidBrush(GeoColor.StandardColors.Red);
textStyle.MaskMargin = 3;
(...)
ZoomLevel zoomLevel = featureLayer.ZoomLevelSet.CustomZoomLevels[0];
zoomLevel.CustomStyles.Add(textStyle);
When I assign textStyle to the feature layer which consist of line shapes, then text is drawn correcly (above line shapes) but Mask is drawn below line shapes (the drawing order is: mask -> line_shape -> text label).
How can I achieve the appropriate text style drawing with the following drawing order: line_shape -> mask -> text label?
Thanks for your answer.