insetUniform Method

Inset this ViewRect by the same value in all directions.

insetUniform(offset: number): void

note The inset operation can cause a previously valid ViewRect to become invalid.

Parameter Type Description
offset number The distance to inset this ViewRect. Positive values will make this ViewRect smaller and negative values will make it larger.

Defined in

Last Updated: 08 January, 2020