Rdocumentation
powered by
Learn R Programming
RGtk2 (version 2.12.17)
gdkDrawPolygon: gdkDrawPolygon
Description
Draws an outlined or filled polygon.
Usage
gdkDrawPolygon(object, gc, filled, points)
Arguments
object
[
GdkDrawable
] a
GdkDrawable
(a
GdkWindow
or a
GdkPixmap
gc
[
GdkGC
] a
GdkGC
.
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.