Inherits from JavaScript Object
Location aphid.core.Size

Overview of Constructors

Overview of Tasks

Attributes

  • Type
  • float
  • float
  • Writability
  • readwrite
  • readwrite

Functions

  • Return Type
  • Size
  • bool
  • void
  • string

Class Attributes

  • Type
  • Size
  • Writability
  • readonly

Constructors

Size(width, height)

new Size(float width, float height)

Parameters

float width
float height

Size(size)

new Size(Size size)

Parameters

Non-null Size size

Size()

new Size()

Attributes

height

readwrite float height

width

readwrite float width

Functions

copy()

Size copy()

Return Value: Size

equals(s)

bool equals(Size s)

Parameters

Non-null Size s

Return Value: bool

setWH(parameter_0, parameter_1)

void setWH(float parameter0, float parameter1)

Parameters

float parameter_0
float parameter_1

toString()

string toString()

Return Value: string

Class Attributes

Size.zero

Non-null readonly Size zero