# StyleRotate

> Creates a StyleRotate from either a Rotate or a StyleKeyword.

## Definition

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

## StyleRotate(Rotate)

Creates a StyleRotate from either a [Rotate](/engine/6000.0/script-reference/unityengine/uielements/rotate.md) or a [StyleKeyword](/engine/6000.0/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleRotate(Rotate v)
```

### Parameters

**** (\[Rotate]\(/engine/6000.0/script-reference/unityengine/uielements/rotate)):&#x20;

## StyleRotate(StyleKeyword)

Creates a StyleRotate from either a [Rotate](/engine/6000.0/script-reference/unityengine/uielements/rotate.md) or a [StyleKeyword](/engine/6000.0/script-reference/unityengine/uielements/stylekeyword.md).

```csharp
public StyleRotate(StyleKeyword keyword)
```

### Parameters

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