private DrawCirlce ( Microsoft.Kinect.Skeleton skeleton, JointType jointType, System.Windows.Media.DrawingContext dc, double radius ) : void | ||
skeleton | Microsoft.Kinect.Skeleton | |
jointType | JointType | |
dc | System.Windows.Media.DrawingContext | |
radius | double | |
Результат | void |
internal void DrawCirlce(Skeleton skeleton, JointType jointType, DrawingContext dc, double radius)
{
if (skeleton == null)
return;
SkeletonPoint shoulder = skeleton.Joints[jointType].Position;
dc.DrawEllipse(TorqueBrush, TorquePen, SkeletonPointToScreen(shoulder), radius, radius);
}