Beispiel #1
0
        /// <summary>
        /// Gets the size that is needed to draw this decoration with max. 2 symbols.
        /// </summary>
        public Size GetLegendSymbolSize()
        {
            Size size = _symbol.GetLegendSymbolSize();

            if (NumSymbols >= 1)
            {
                size.Width *= 2;                  //add space for the line between the decorations
            }
            return(size);
        }
Beispiel #2
0
 /// <summary>
 /// Gets the legend symbol size of the symbolizer for this category
 /// </summary>
 /// <returns></returns>
 public override Size GetLegendSymbolSize()
 {
     return(Symbolizer.GetLegendSymbolSize());
 }