Home > @magiclane/maps-sdk > RectType > (constructor)

RectType.(constructor)

Constructs a new instance of the RectType class

Signature:

constructor(input: {
        x: T;
        y: T;
        width: T;
        height: T;
    });

Parameters

Parameter

Type

Description

{ x, y, width, height }

(not declared)

input

{ x: T; y: T; width: T; height: T; }

input properties:

  • x: T
  • y: T
  • width: T
  • height: T