Esempio n. 1
0
        public Path(Point startPoint, Point endPoint, int radius, int width, PathType direction)
        {
            this.startPoint = startPoint;
            this.endPoint = endPoint;
            this.radius = radius;
            this.width = width;
            this.direction = direction;
            this.StepDistance = 40;
            CalculateOrigin();

            this.outliner = new PathOutliner(this, this.Origin);
        }
Esempio n. 2
0
        public PathLayoutItem(Point startPoint, Point endPoint, int radius, int width)
        {
            this.curveOriginCalculator = new CurveOriginCalculator(this);
            this.pathOutliner = new CurvedPathOutliner(this);

            this.SuspendVisualGeneration = true;
            this.StartPoint = startPoint;
            this.EndPoint = endPoint;
            this.Radius = radius;
            this.PathWidth = width;
            this.SuspendVisualGeneration = false;
        }