# TessellateRectBorder(Rect, float, out Vector2[], out ushort[])

> Tessellates a rectangle border.

## Definition

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

## TessellateRectBorder(Rect, float, Vector2\[], ushort\[])

```csharp
public static void TessellateRectBorder(Rect rect, float halfThickness, out Vector2[] vertices, out ushort[] indices)
```

### Parameters

**** (\[Rect]\(/engine/6000.7/script-reference/unityengine/rect)): Rectangle to tessellate**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The half-thickness of the border**** (\[Vector2\[]]\(/engine/6000.7/script-reference/unityengine/vector2)): The output vertices**** (\[ushort\[]]\(https\://learn.microsoft.com/dotnet/api/system.uint16)): The output triangles
