Method fill
| Improve this Doc View Sourcefill(Double[], Double[])
plfill: Draw filled polygon
Declaration
public void fill(Double[] x, Double[] y)
Parameters
Type | Name | Description |
---|---|---|
Double[] | x | A vector containing the x coordinates of vertices. |
Double[] | y | A vector containing the y coordinates of vertices. |
Remarks
Fills the polygon defined by the n points (x[i], y[i]) using the pattern defined by plpsty or plpat. The default fill style is a solid fill. The routine will automatically close the polygon between the last and first vertices. If multiple closed polygons are passed in x and y then plfill will fill in between them.