OpenTK.BezierCurveCubic.BezierCurveCubic C# (CSharp) Method

BezierCurveCubic() public method

Constructs a new BezierCurveCubic.
public BezierCurveCubic ( System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 firstControlPoint, System.Vector2 secondControlPoint ) : System
startAnchor System.Vector2 The start anchor point.
endAnchor System.Vector2 The end anchor point.
firstControlPoint System.Vector2 The first control point.
secondControlPoint System.Vector2 The second control point.
return System
        public BezierCurveCubic(Vector2 startAnchor, Vector2 endAnchor, Vector2 firstControlPoint, Vector2 secondControlPoint)
        {
            this.StartAnchor = startAnchor;
            this.EndAnchor = endAnchor;
            this.FirstControlPoint = firstControlPoint;
            this.SecondControlPoint = secondControlPoint;
            this.Parallel = 0.0f;
        }

Same methods

BezierCurveCubic::BezierCurveCubic ( float parallel, System.Vector2 startAnchor, System.Vector2 endAnchor, System.Vector2 firstControlPoint, System.Vector2 secondControlPoint ) : System