Number
Number
WindowState
WindowState
Number
Get the ApproximatePosition
Kind: Instance method of WindowState
Returns: Number
- the KEY_APPROXIMATE_POSITION value
Number
Get the Deviation
Kind: Instance method of WindowState
Returns: Number
- the KEY_DEVIATION value
WindowState
Set the ApproximatePosition
Kind: Instance method of WindowState
Returns: WindowState
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
position | Number |
The approximate percentage that the window is open - 0 being fully closed, 100 being fully open - The desired ApproximatePosition. {'num_min_value': 0, 'num_max_value': 100} |
WindowState
Set the Deviation
Kind: Instance method of WindowState
Returns: WindowState
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
deviation | Number |
The percentage deviation of the approximatePosition. e.g. If the approximatePosition is 50 and the deviation is 10, then the window's location is somewhere between 40 and 60. - The desired Deviation. {'num_min_value': 0, 'num_max_value': 100} |