public Image GetImage(int width, int height) { PathDrawer drawer = new PathDrawer(width, height) { PathFinder = PathFinder, SpeedPoints = Points.ToArray(), SpeedValues = Speeds.ToArray(), ShowSpeedPoints = true }; return(drawer.Image); }
IStrategyBuilder IStrategyBuilder.ShallowCopy() { StrategyBuilder copy = new StrategyBuilder { Limits = Limits.ToArray(), Speeds = Speeds.ToArray(), Threading = Threading, FinishTimeout = FinishTimeout, ScenarioFactory = ScenarioFactory, InitialUserData = InitialUserData, Aggregators = Aggregators.ToArray() }; return(copy); }