/// <summary> /// Draw wireframe. /// </summary> /// <param name="drawingSession"> The drawing-session. </param> /// <param name="layerage"> The layerage. </param> /// <param name="matrix"> The matrix. </param> /// <param name="accentColor"> The accent color. </param> public static void DrawWireframeWithChildren(this CanvasDrawingSession drawingSession, Layerage layerage, Matrix3x2 matrix, Windows.UI.Color accentColor) { ILayer layer = layerage.Self; layer.DrawWireframe(drawingSession, matrix, accentColor); foreach (Layerage child in layerage.Children) { LayerExtensions.DrawWireframeWithChildren(drawingSession, child, matrix, accentColor); } }
/// <summary> /// Draw wireframe. /// </summary> /// <param name="drawingSession"> The drawing-session. </param> /// <param name="layer"> The layer. </param> /// <param name="matrix"> The matrix. </param> /// <param name="accentColor"> The accent color. </param> public static void DrawWireframe(this CanvasDrawingSession drawingSession, ILayer layer, Matrix3x2 matrix, Windows.UI.Color accentColor) { layer.DrawWireframe(drawingSession, matrix, accentColor); }