Gridarta Editor
Package Functions | List of all members
Shape Class Referenceabstract
Inheritance diagram for Shape:
Inheritance graph
Collaboration diagram for Shape:
Collaboration graph

Package Functions

abstract void draw (Graphics g, int x, int y, int w, int h)
 
abstract void fill (Graphics g, int x, int y, int w, int h)
 

Detailed Description

Definition at line 318 of file GraphicsTest.java.

Member Function Documentation

◆ draw()

abstract void Shape.draw ( Graphics  g,
int  x,
int  y,
int  w,
int  h 
)
abstractpackage

Reimplemented in PolygonShape, RoundRectShape, OvalShape, and RectShape.

Referenced by ShapeTest.paint().

Here is the caller graph for this function:

◆ fill()

abstract void Shape.fill ( Graphics  g,
int  x,
int  y,
int  w,
int  h 
)
abstractpackage

Reimplemented in PolygonShape, RoundRectShape, OvalShape, and RectShape.

Referenced by ShapeTest.paint().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: