public void DrawRoundedRectangle([NotNull] Pen pen, RoundedRectangle roundedRectangle) { var roundedRectGeo = new RoundedRectangleGeometry(roundedRectangle); DrawGeometry(pen, roundedRectGeo); }
public void FillRoundedRectangle([NotNull] Brush brush, RoundedRectangle roundedRectangle) { var roundedRectGeo = new RoundedRectangleGeometry(roundedRectangle); FillGeometry(brush, roundedRectGeo); }