示例#1
0
        /// <summary>
        /// You still need to set its <c>Stroke</c>, <c>StrokeThickness</c>, <c>Fill</c>, et al, as with any <c>Shape</c>.
        /// </summary>
        public ToolHandle()
        {
            NodePanel.SetFigure(this, NodeFigure.Rectangle);

            this.Stretch = Stretch.Fill; // because GetFigureGeometry always returns a Geometry with unscaled points from 0,0 to 1,1
        }