internal void DestroyPen(D2DPen pen) { if (pen == null) { throw new ArgumentNullException(nameof(pen)); } D2D.DestroyPen(pen.Handle); }