@@ -375,12 +375,8 @@ Returns:
375375* ` type ` String
376376* ` image ` NativeImage (optional)
377377* ` scale ` Float (optional) - scaling factor for the custom cursor
378- * ` size ` Object (optional) - the size of the ` image `
379- * ` width ` Integer
380- * ` height ` Integer
381- * ` hotspot ` Object (optional) - coordinates of the custom cursor's hotspot
382- * ` x ` Integer - x coordinate
383- * ` y ` Integer - y coordinate
378+ * ` size ` [ Size] ( structures/size.md ) (optional) - the size of the ` image `
379+ * ` hotspot ` [ Point] ( structures/point.md ) (optional) - coordinates of the custom cursor's hotspot
384380
385381Emitted when the cursor's type changes. The ` type ` parameter can be ` default ` ,
386382` crosshair ` , ` pointer ` , ` text ` , ` wait ` , ` help ` , ` e-resize ` , ` n-resize ` ,
@@ -1067,24 +1063,16 @@ app.on('ready', () => {
10671063 (default: ` desktop ` )
10681064 * ` desktop ` - Desktop screen type
10691065 * ` mobile ` - Mobile screen type
1070- * ` screenSize ` Object - Set the emulated screen size (screenPosition == mobile)
1071- * ` width ` Integer - Set the emulated screen width
1072- * ` height ` Integer - Set the emulated screen height
1073- * ` viewPosition ` Object - Position the view on the screen
1066+ * ` screenSize ` [ Size] ( structures/size.md ) - Set the emulated screen size (screenPosition == mobile)
1067+ * ` viewPosition ` [ Point] ( structures/point.md ) - Position the view on the screen
10741068 (screenPosition == mobile) (default: ` {x: 0, y: 0} ` )
1075- * ` x ` Integer - Set the x axis offset from top left corner
1076- * ` y ` Integer - Set the y axis offset from top left corner
10771069 * ` deviceScaleFactor ` Integer - Set the device scale factor (if zero defaults to
10781070 original device scale factor) (default: ` 0 ` )
1079- * ` viewSize ` Object - Set the emulated view size (empty means no override)
1080- * ` width ` Integer - Set the emulated view width
1081- * ` height ` Integer - Set the emulated view height
1071+ * ` viewSize ` [ Size] ( structures/size.md ) - Set the emulated view size (empty means no override)
10821072 * ` fitToView ` Boolean - Whether emulated view should be scaled down if
10831073 necessary to fit into available space (default: ` false ` )
1084- * ` offset ` Object - Offset of the emulated view inside available space (not in
1085- fit to view mode) (default: ` {x: 0, y: 0} ` )
1086- * ` x ` Float - Set the x axis offset from top left corner
1087- * ` y ` Float - Set the y axis offset from top left corner
1074+ * ` offset ` [ Point] ( structures/point.md ) - Offset of the emulated view inside available space
1075+ (not in fit to view mode) (default: ` {x: 0, y: 0} ` )
10881076 * ` scale ` Float - Scale of emulated view inside available space (not in fit to
10891077 view mode) (default: ` 1 ` )
10901078
0 commit comments