/**********************************************************************/ /* Constructors */ /**********************************************************************/ /// <summary> /// Initializes the rendering helper. /// </summary> /// <param name="pointResolver">The delegate used to resolve the 2d position of skeletal points.</param> /// <param name="canvas">The canvas to draw on, or null.</param> public SkeletonRenderer(PointResolverDelegate pointResolver, DrawingGroup canvas = null) { PointResolver = pointResolver; Canvas = canvas; }