Learn R Programming

RGtk2 (version 2.20.31)

gdkDrawPolygon: gdkDrawPolygon

Description

Draws an outlined or filled polygon.

Usage

gdkDrawPolygon(object, gc, filled, points)

Arguments

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