internal static DrawingVisual GetDrawingGroup(this BodyFrame bodyFrame, bool drawBones = true, bool useDepthSpace = true, double pointRadius = 3F, double line = 0.8F) { var bodyDrawingGroup = new DrawingVisual(); bodyFrame.CopyToFrameToDrawingGroup(ref bodyDrawingGroup, drawBones, useDepthSpace, pointRadius, line); return(bodyDrawingGroup); }