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