RectangleSize method

Class: RectangleSizePlatform: EspressoLanguage: Java SDK:

A constructor that provides several ways to provide the values for the rectangle width and height.

Syntax


 RectangleSize  obj = new RectangleSize(width, height);

Parameters

width
Type:int
The width of the rectangle in pixels.
height
Type:int
The height of the rectangle in pixels.

Return value

Type: RectangleSize