/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) { if (wand != null) { wand.PushPattern(ID, X, Y, Width, Height); } }
/// <summary> /// Draws this instance with the drawing wand. /// </summary> /// <param name="wand">The want to draw on.</param> void IDrawingWand.Draw(DrawingWand wand) => wand?.PushPattern(ID, X, Y, Width, Height);