GetRect

public Rect GetRect(Rect defaultValue) ;

Get the value of the Rect type.

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

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

public Rect GetRect() ;

Get the value of the Rect type.

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