---
title: "PolyIntent"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/polyintent/"
product: "Aspose.PDF for Java API Reference"
description: "Enumerates the intents of the polygon or polyline annotation."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < PolyIntent > com.aspose.pdf.PolyIntent, java.lang.Enum < PolyIntent >, com.aspose.pdf.PolyIntent

**All Implemented Interfaces:**
Serializable, Comparable < PolyIntent >

```
public enum PolyIntent extends Enum < PolyIntent >
```

Enumerates the intents of the polygon or polyline annotation.

## Fields

| Field | Description |
| --- | --- |
| [PolygonCloud](#PolygonCloud) | Means that the annotation is intended to function as a cloud object. |
| [PolygonDimension](#PolygonDimension) | Indicates that the polygon annotation is intended to function as a dimension. |
| [PolyLineDimension](#PolyLineDimension) | Indicates that the polyline annotation is intended to function as a dimension. |
| [Undefined](#Undefined) | Undefined state. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### PolygonCloud {#PolygonCloud}
```
public static final PolyIntent PolygonCloud
```

Means that the annotation is intended to function as a cloud object.

### PolygonDimension {#PolygonDimension}
```
public static final PolyIntent PolygonDimension
```

Indicates that the polygon annotation is intended to function as a dimension.

### PolyLineDimension {#PolyLineDimension}
```
public static final PolyIntent PolyLineDimension
```

Indicates that the polyline annotation is intended to function as a dimension.

### Undefined {#Undefined}
```
public static final PolyIntent Undefined
```

Undefined state.

### getByValue {#getByValue-int-}
```
public static PolyIntent getByValue(int value)
```



**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  |  |

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static PolyIntent [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
