Learn R Programming

RGtk2 (version 2.12.17)

gdkDrawLine: gdkDrawLine

Description

Draws a line, using the foreground color and other attributes of the GdkGC.

Usage

gdkDrawLine(object, gc, x1, y1, x2, y2)

Arguments

x1
[integer] the x coordinate of the start point.
y1
[integer] the y coordinate of the start point.
x2
[integer] the x coordinate of the end point.
y2
[integer] the y coordinate of the end point.