RectangleSize method

Class: RectangleSizePlatform: ImagesLanguage: 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);

RectangleSize obj = new RectangleSize(source);

Parameters

width
Type:int
The width of the rectangle in pixels.
height
Type:int
The height of the rectangle in pixels.
source
Type:RectangleSize
Another RectangleSize object instance to be cloned.

Return value

Type: RectangleSize