# RealignVerticesInBounds(IList<Vector2>, Rect, bool)

> Realigns the vertices (in-place) inside their axis-aligned bounding-box.

## Definition

* **Type:** Method
* **Namespace:** [Unity.VectorGraphics](/engine/6000.6/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
public static void RealignVerticesInBounds(IList<Vector2> vertices, Rect bounds, bool flip)
```

### Parameters

**** (\[IList\<Vector2>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)): The vertices to realign**** (\[Rect]\(/engine/6000.6/script-reference/unityengine/rect)): The bounds into which the vertices will be realigned**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): A boolean indicating whether to flip the coordinates on the Y axis
