---
title: "PsDocument.FillPolygon"
url: "https://reference.aspose.com/page/net/aspose.page.eps/psdocument/fillpolygon/"
product: "Aspose.Page for .NET API Reference"
description: "PsDocument method. Fills a poligone"
---

## FillPolygon(int[], int[], int) {#fillpolygon_1}

Fills a poligone.

```csharp
public void FillPolygon(int[] xPoints, int[] yPoints, int nPoints)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xPoints | Int32[] | X coordinates of points. |
| yPoints | Int32[] | Y coordinate of points. |
| nPoints | Int32 | The number of points. |

### See Also

* class [PsDocument](../)
* namespace [Aspose.Page.EPS](../../psdocument/)
* assembly [Aspose.Page](../../../)

---

## FillPolygon(double[], double[], int) {#fillpolygon}

Fills a poligone.

```csharp
public void FillPolygon(double[] xPoints, double[] yPoints, int nPoints)
```

| Parameter | Type | Description |
| --- | --- | --- |
| xPoints | Double[] | X coordinates of points. |
| yPoints | Double[] | Y coordinate of points. |
| nPoints | Int32 | The number of points. |

### See Also

* class [PsDocument](../)
* namespace [Aspose.Page.EPS](../../psdocument/)
* assembly [Aspose.Page](../../../)


