# StyleInt

> Creates from either an integer or StyleKeyword.

## Definition

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

## StyleInt(int)

Creates from either an integer or [StyleKeyword](/engine/6000.7/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleInt(int v)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

## StyleInt(StyleKeyword)

Creates from either an integer or [StyleKeyword](/engine/6000.7/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleInt(StyleKeyword keyword)
```

### Parameters

**** (\[StyleKeyword]\(/engine/6000.7/script-reference/unityengine/uielements/stylekeyword)):&#x20;
