Learn R Programming

RGtk2 (version 2.8.8)

gdkDrawPolygon: gdkDrawPolygon

Description

Draws an outlined or filled polygon.

Usage

gdkDrawPolygon(object, gc, filled, points)

Arguments

filled
[logical] TRUE if the polygon should be filled. The polygon is closed automatically, connecting the last point to the first point if necessary.
points
[GdkPoint] a list of GdkPoint structures specifying the points making up the polygon.