# RectField

> Initializes and returns an instance of RectField.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.3/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## RectField()

Initializes and returns an instance of RectField.

```csharp
public RectField()
```

## RectField(string)

Initializes and returns an instance of RectField.

```csharp
public RectField(string label)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The text to use as a label.
