public BasicLabelRenderer2D(TextRenderer2D <TRenderObject> textRenderer,
                                    VectorRenderer2D <TRenderObject> vectorRenderer, StyleTextRenderingHint renderingHint)
            : base(vectorRenderer)
        {
            if (textRenderer == null)
            {
                throw new ArgumentNullException("textRenderer");
            }

            TextRenderer = textRenderer;
            TextRenderer.TextRenderingHint = renderingHint;
        }
 protected FeatureRenderer2D(VectorRenderer2D <TRenderObject> vectorRenderer)
 {
     _vectorRenderer = vectorRenderer;
 }
 /// <summary>
 /// Creates a new BasicGeometryRenderer2D with the given VectorRenderer2D instance.
 /// </summary>
 /// <param name="vectorRenderer">
 /// A vector renderer.
 /// </param>
 /// <param name="defaultStyle">
 /// The default style to apply to a feature's geometry.
 /// </param>
 public BasicGeometryRenderer2D(VectorRenderer2D <TRenderObject> vectorRenderer, GeometryStyle defaultStyle)
     : base(vectorRenderer)
 {
     DefaultStyle = defaultStyle;
 }
 /// <summary>
 /// Creates a new BasicGeometryRenderer2D with the given VectorRenderer2D instance.
 /// </summary>
 /// <param name="vectorRenderer">
 /// A vector renderer.
 /// </param>
 public BasicGeometryRenderer2D(VectorRenderer2D <TRenderObject> vectorRenderer)
     : this(vectorRenderer, new GeometryStyle())
 {
 }
 public BasicLabelRenderer2D(TextRenderer2D <TRenderObject> textRenderer,
                             VectorRenderer2D <TRenderObject> vectorRenderer)
     : this(textRenderer, vectorRenderer, StyleTextRenderingHint.SystemDefault)
 {
 }