Methods
View
setViewport
Updated 12 Sep 2024
Did this page help you?
Sets the viewport of the 2D Viewer.
Name of the viewport to set, valid value is fit.
Type | Required |
---|---|
String | Yes |
Options for the viewport.
Type | Required |
---|---|
Object | No |
Properties
Name | Type | Required | Description |
---|---|---|---|
expandInPercentage | Number | No | Expansion applied to the viewport |