HSSize
Type
This is a JavaScript object used to represent the size of a rectangle, as used in various places throughout Hammerspoon's API, particularly where dealing with portions of a display. Behind the scenes it is a wrapper for the CGSize type in Swift/ObjectiveC.
Properties
Methods
constructor(w, h)
Create a new HSSize object
Hammerspoon 2/Engine/Types/HSSize.swift:28
Parameters
-
wnumberThe width of the rectangle
-
hnumberThe height of the rectangle
Returns
Nothing