Class: Rectangle

PhSim.Static. Rectangle


new Rectangle(x, y, w, h)

Constructor for a static Rectangle

Parameters:
Name Type Description
x Number
y Number
w Number
h Number
Source:

Members


cycle :Number

Angle of rectangle

Type:
  • Number
Source:

h :Number

Height of rectangle

Type:
  • Number
Source:

shape :Boolean

Boolean for indicating a rectangle

Type:
  • Boolean
Source:

w :Number

Width of rectangle

Type:
  • Number
Source:

x :Number

x-coordinate of the upper left corner of the rectangle

Type:
  • Number
Source:

y :Number

y-coordinate of the upper left corner of the rectangle

Type:
  • Number
Source: