Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public static
Rect Bounds(BezierPathSegment[]
path);
Parameters
Parameter |
Description |
path |
The path to compute the bounds from |
Returns
Rect
A Rect containing the axis-aligned bounding-box of the contour
Description
Computes the bounds of a bezier path.
Declaration
public static
Rect Bounds(IEnumerable<Vector2>
vertices);
Parameters
Parameter |
Description |
vertices |
The list of vertices to compute the bounds from |
Returns
Rect
A Rect containing the axis-aligned bounding-box of the vertices
Description
Computes the bounds of a list of vertices.
Parameters
Parameter |
Description |
segment |
The segment to flip |
min |
The output min value of the segment |
max |
The output max value of the segment |
Description
Computes the bounds of a segment.