GetBoundingBox

GetBoundingBox(Vector2, Vector2, Vector2, Vector2)

public static Rect GetBoundingBox(Vector2 startPosition, Vector2 startControl, Vector2 endPosition, Vector2 endControl) ;

Description

Get the bounding box of a Bezier curve.

Parameters

Parameter Name Description
startPosition Starting point
startControl Control point of the starting point
endPosition End point
endControl Control point of the end point

Returns

Returns the Bezier curve bounding box.