Crossfire JXClient, Trunk
Public Member Functions | Package Functions | Package Attributes | List of all members
PolygonShape Class Reference
Inheritance diagram for PolygonShape:
Inheritance graph
Collaboration diagram for PolygonShape:
Collaboration graph

Public Member Functions

 PolygonShape ()
 

Package Functions

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

Package Attributes

Polygon p
 
Polygon pBase
 

Detailed Description

Definition at line 368 of file GraphicsTest.java.

Constructor & Destructor Documentation

◆ PolygonShape()

PolygonShape.PolygonShape ( )

Definition at line 374 of file GraphicsTest.java.

References pBase.

Member Function Documentation

◆ draw()

void PolygonShape.draw ( Graphics  g,
int  x,
int  y,
int  w,
int  h 
)
package

Definition at line 395 of file GraphicsTest.java.

References p, and scalePolygon().

Here is the call graph for this function:

◆ fill()

void PolygonShape.fill ( Graphics  g,
int  x,
int  y,
int  w,
int  h 
)
package

Definition at line 407 of file GraphicsTest.java.

References p, and scalePolygon().

Here is the call graph for this function:

◆ scalePolygon()

void PolygonShape.scalePolygon ( float  w,
float  h 
)
package

Definition at line 385 of file GraphicsTest.java.

References p, and pBase.

Referenced by draw(), and fill().

Here is the caller graph for this function:

Member Data Documentation

◆ p

Polygon PolygonShape.p
package

Definition at line 371 of file GraphicsTest.java.

Referenced by draw(), fill(), and scalePolygon().

◆ pBase

Polygon PolygonShape.pBase
package

Definition at line 372 of file GraphicsTest.java.

Referenced by PolygonShape(), and scalePolygon().


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