Beispiel #1
0
        private Point GetClosestPointOnShape(Shape shape, Point pt)
        {
            StepShape    stepShape = GetShapeParent(shape);
            List <Point> points    = stepShape.GetPoints(GetStepShapeParent(stepShape).Duration);

            return(Utilities.GetClosestPointInList(pt, points));
        }
Beispiel #2
0
 public List <Point> GetPoints()
 {
     return(StepShape.GetPoints(_duration));
 }