next up previous contents
Nächste Seite: j_ fillroundrect Aufwärts: Functions Vorherige Seite: j_ fillpolygon   Inhalt


j_ fillrect


Synopsis
void j_fillrect ( int obj , int x , int y , int width , int height );

Argumente

obj : int
x : int
y : int
width : int
height : int

Beschreibung

Zeichnet eine gefülltes Rechteck in der momentan gesetzten Vordergrundfarbe an die Position (x,y) mit der Breite width und der Höhe height. Bezugspunkt des Rechtecks ist die linke obere Ecke. Nullpunkt des Koordinatensystems ist die linke obere Ecke der Komponenten, die durch obj referenziert wird.

Zielkomponenten

Canvas, Image, Printer

Beispiel

:
canvas = j_canvas(frame,220,50);
j_fillrect(canvas,20,10,180,30);
:

j_fillrect.eps



Merten Joost 2003-02-26