I would like to make a brush with a style of "dash dot dot" in silverlight. I actually want to accomplish a "dash dot dot" border around a custom graphic (apply it to a FillSymbol.BorderBrush property). Is there a way to do this?
using ESRI.ArcGIS.Client; // Custom Symbol with dots and dashes on demand Graphic graphic = new Graphic() { Geometry = polygon1, Symbol = new AnimatedPolygonSymbol(_color, _width, _line) };
using System.Windows.Markup; using System.Windows.Controls;
#region Special Symbols /// <summary> /// AnimatedPolygonSymbol class for AnimatedPolygon /// </summary> public class AnimatedPolygonSymbol : FillSymbol // LineSymbol { /// <summary> /// /// </summary> /// <param name="astrColor"></param> /// <param name="astrThickness"></param> /// <param name="astrType">Array of dots and dashes</param> <!-- 3,3,5,4 etc --> public AnimatedPolygonSymbol(string astrColor, string astrThickness, string astrType) : base() { string lstrTemplate = AnimatedPolygon();