# GetRect

## GetRect(Rect)

public Rect GetRect(Rect defaultValue) ;

### Description

Get the value of the Rect type.

### Parameters

Parameter Name | Description
--- | ---
defaultValue | Default value. It is returned when there is no parameter.

### Returns

The value of the parameter. If there is no parameter, it returns defaultValue.

## GetRect()

public Rect GetRect() ;

### Description

Get the value of the Rect type.

### Returns

The value of the parameter. If there is no parameter, it returns Rect(0, 0, 0, 0).