
**Inheritance:**
java.lang.Object
```
public class VariationAxis
```

Represents OpenType Design-Variation Axis Tag. https://learn.microsoft.com/en-us/typography/opentype/spec/dvaraxisreg
## Fields

| Field | Description |
| --- | --- |
| [ITALIC](#ITALIC) | Registered tag for the roman/italic axis. |
| [OPTICAL_SIZE](#OPTICAL-SIZE) | Registered tag for the optical-size axis. |
| [SLANT](#SLANT) | Registered tag for the slant axis. |
| [WEIGHT](#WEIGHT) | Registered tag for the weight axis. |
| [WIDTH](#WIDTH) | Registered tag for the width axis. |
| [length](#length) |  |
## Methods

| Method | Description |
| --- | --- |
| [fromName(String variationAxisName)](#fromName-java.lang.String) |  |
| [getName(int variationAxis)](#getName-int) |  |
| [getValues()](#getValues) |  |
| [toString(int variationAxis)](#toString-int) |  |
### ITALIC {#ITALIC}
```
public static int ITALIC
```


Registered tag for the roman/italic axis.

### OPTICAL_SIZE {#OPTICAL-SIZE}
```
public static int OPTICAL_SIZE
```


Registered tag for the optical-size axis. Note: The optical-size axis supersedes the OpenType size feature.

### SLANT {#SLANT}
```
public static int SLANT
```


Registered tag for the slant axis.

### WEIGHT {#WEIGHT}
```
public static int WEIGHT
```


Registered tag for the weight axis.

### WIDTH {#WIDTH}
```
public static int WIDTH
```


Registered tag for the width axis.

### length {#length}
```
public static int length
```


### fromName(String variationAxisName) {#fromName-java.lang.String}
```
public static int fromName(String variationAxisName)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| variationAxisName | java.lang.String |  |

**Returns:**
int
### getName(int variationAxis) {#getName-int}
```
public static String getName(int variationAxis)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| variationAxis | int |  |

**Returns:**
java.lang.String
### getValues() {#getValues}
```
public static int[] getValues()
```




**Returns:**
int[]
### toString(int variationAxis) {#toString-int}
```
public static String toString(int variationAxis)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| variationAxis | int |  |

**Returns:**
java.lang.String
