CCT.NUI.Visual.HandLayer.PaintCovexHull C# (CSharp) Method

PaintCovexHull() protected method

protected PaintCovexHull ( HandData hand, Graphics g ) : void
hand CCT.NUI.HandTracking.HandData
g System.Drawing.Graphics
return void
        protected virtual void PaintCovexHull(HandData hand, Graphics g)
        {
            if (hand.ConvexHull.Count > 3)
            {
                g.DrawLines(Pens.White, hand.ConvexHull.Points.Select(p => new System.Drawing.Point((int)p.X, (int)p.Y)).ToArray());
            }
        }