diff --git a/index.html b/index.html index a26a833c..12315341 100644 --- a/index.html +++ b/index.html @@ -8383,124 +8383,193 @@
Let button be the result
- of getting the property button
- from action item.
-
-
If button is not an Integer greater than or - equal to 0 return error with error code - invalid argument. - -
Set the button
property of action
- to button.
-
-
Let width be the result
- of getting the property width
- from action item.
-
-
If width is not undefined - and width is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the width
property of action
- to width.
-
-
Let height be the result
- of getting the property height
- from action item.
-
-
If height is not undefined - and height is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the height
property of action
- to height.
-
-
Let pressure be the result
- of getting the property pressure
- from action item.
-
-
If pressure is not undefined - and pressure is not a Number greater than or - equal to 0 and less than or equal to 1 return error with - error code invalid argument. - -
Set the pressure
property of action
- to pressure.
-
-
Let tangentialPressure be the result
- of getting the property tangentialPressure
- from action item.
-
-
If tangentialPressure is not undefined - and tangentialPressure is not a Number greater - than or equal to -1 and less than or equal to 1 return error - with error code invalid argument. - -
Set the tangentialPressure
property of action
- to tangentialPressure.
-
-
Let tiltX be the result
- of getting the property tiltX
- from action item.
-
-
If tiltX is not undefined - and tiltX is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltX
property of action
- to tiltX.
-
-
Let tiltY be the result
- of getting the property tiltY
- from action item.
-
-
If tiltY is not undefined - and tiltY is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltY
property of action
- to tiltY.
-
-
Let twist be the result
- of getting the property twist
- from action item.
-
-
If twist is not undefined - and twist is not an Integer greater than or - equal to 0 and less than or equal to 359 return error with - error code invalid argument. - -
Set the twist
property of action
- to twist.
-
-
Let altitudeAngle be the result
- of getting the property altitudeAngle
- from action item.
-
-
If altitudeAngle is not undefined - and altitudeAngle is not a Number greater than - or equal to 0 and less than or equal to π/2 return error with - error code invalid argument. - -
Set the altitudeAngle
property of action
- to altitudeAngle.
+
Let pointerType be equal to
+ action’s pointerType
property.
+
+
Run the substeps of the first matching value of pointerType -
Let azimuthAngle be the result
- of getting the property azimuthAngle
- from action item.
+
mouse
"
+ Let button be the result
+ of getting the property button
+ from action item.
+
+
If button is not an Integer greater than or + equal to 0 return error with error code + invalid argument. + +
Set the button
property of action
+ to button.
+
If azimuthAngle is not undefined - and azimuthAngle is not a Number greater than - or equal to 0 and less than or equal to 2π return error with - error code invalid argument. +
touch
"
+ Set the button
property of action
+ to 0.
+
+
Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the height
property of action
+ to height.
+
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
Set the azimuthAngle
property of action
- to azimuthAngle.
+
pen
"
+ Let button be the result
+ of getting the property button
+ from action item.
+
+
If button is not an Integer greater than or + equal to 0 return error with error code + invalid argument. + +
Set the button
property of action
+ to button.
+
+
Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the height
property of action
+ to height.
+
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
+
Let tangentialPressure be the result
+ of getting the property tangentialPressure
+ from action item.
+
+
If tangentialPressure is not undefined + and tangentialPressure is not a Number greater + than or equal to -1 and less than or equal to 1 return error + with error code invalid argument. + +
Set the tangentialPressure
property of action
+ to tangentialPressure.
+
+
Let tiltX be the result
+ of getting the property tiltX
+ from action item.
+
+
If tiltX is not undefined + and tiltX is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. + +
Set the tiltX
property of action
+ to tiltX.
+
+
Let tiltY be the result
+ of getting the property tiltY
+ from action item.
+
+
If tiltY is not undefined + and tiltY is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. + +
Set the tiltY
property of action
+ to tiltY.
+
+
Let twist be the result
+ of getting the property twist
+ from action item.
+
+
If twist is not undefined + and twist is not an Integer greater than or + equal to 0 and less than or equal to 359 return error with + error code invalid argument. + +
Set the twist
property of action
+ to twist.
+
+
Let altitudeAngle be the result
+ of getting the property altitudeAngle
+ from action item.
+
+
If altitudeAngle is not undefined + and altitudeAngle is not a Number greater than + or equal to 0 and less than or equal to π/2 return error with + error code invalid argument. + +
Set the altitudeAngle
property of action
+ to altitudeAngle.
+
+
Let azimuthAngle be the result
+ of getting the property azimuthAngle
+ from action item.
+
+
If azimuthAngle is not undefined + and azimuthAngle is not a Number greater than + or equal to 0 and less than or equal to 2π return error with + error code invalid argument. + +
Set the azimuthAngle
property of action
+ to azimuthAngle.
+
Return success with data null
.
Set the y
property of action
to y.
-
Let width be the result
- of getting the property width
- from action item.
-
-
If width is not undefined - and width is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the width
property of action
- to width.
-
-
Let height be the result
- of getting the property height
- from action item.
-
-
If height is not undefined - and height is not a Number greater than or - equal to 0 return error with error code - invalid argument. - -
Set the height
property of action
- to height.
-
-
Let pressure be the result
- of getting the property pressure
- from action item.
-
-
If pressure is not undefined - and pressure is not a Number greater than or - equal to 0 and less than or equal to 1 return error with - error code invalid argument. - -
Set the pressure
property of action
- to pressure.
-
-
Let tangentialPressure be the result
- of getting the property tangentialPressure
- from action item.
-
-
If tangentialPressure is not undefined - and tangentialPressure is not a Number greater - than or equal to -1 and less than or equal to 1 return error - with error code invalid argument. - -
Set the tangentialPressure
property of action
- to tangentialPressure.
-
-
Let tiltX be the result
- of getting the property tiltX
- from action item.
-
-
If tiltX is not undefined - and tiltX is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltX
property of action
- to tiltX.
-
-
Let tiltY be the result
- of getting the property tiltY
- from action item.
-
-
If tiltY is not undefined - and tiltY is not an Integer greater than or - equal to -90 and less than or equal to 90 return error with - error code invalid argument. - -
Set the tiltY
property of action
- to tiltY.
-
-
Let twist be the result
- of getting the property twist
- from action item.
-
-
If twist is not undefined - and twist is not an Integer greater than or - equal to 0 and less than or equal to 359 return error with - error code invalid argument. - -
Set the twist
property of action
- to twist.
-
-
Let altitudeAngle be the result
- of getting the property altitudeAngle
- from action item.
-
-
If altitudeAngle is not undefined - and altitudeAngle is not a Number greater than - or equal to 0 and less than or equal to π/2 return error with - error code invalid argument. - -
Set the altitudeAngle
property of action
- to altitudeAngle.
+
Let pointerType be equal to
+ action’s pointerType
property.
+
+
Run the substeps of the first matching value of pointerType -
Let azimuthAngle be the result
- of getting the property azimuthAngle
- from action item.
+
mouse
"
+ If azimuthAngle is not undefined - and azimuthAngle is not a Number greater than - or equal to 0 and less than or equal to 2π return error with - error code invalid argument. +
touch
"
+ Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the height
property of action
+ to height.
+
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
Set the azimuthAngle
property of action
- to azimuthAngle.
+
pen
"
+ Let width be the result
+ of getting the property width
+ from action item.
+
+
If width is not undefined + and width is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the width
property of action
+ to width.
+
+
Let height be the result
+ of getting the property height
+ from action item.
+
+
If height is not undefined + and height is not a Number greater than or + equal to 0 return error with error code + invalid argument. + +
Set the height
property of action
+ to height.
+
+
Let pressure be the result
+ of getting the property pressure
+ from action item.
+
+
If pressure is not undefined + and pressure is not a Number greater than or + equal to 0 and less than or equal to 1 return error with + error code invalid argument. + +
Set the pressure
property of action
+ to pressure.
+
+
Let tangentialPressure be the result
+ of getting the property tangentialPressure
+ from action item.
+
+
If tangentialPressure is not undefined + and tangentialPressure is not a Number greater + than or equal to -1 and less than or equal to 1 return error + with error code invalid argument. + +
Set the tangentialPressure
property of action
+ to tangentialPressure.
+
+
Let tiltX be the result
+ of getting the property tiltX
+ from action item.
+
+
If tiltX is not undefined + and tiltX is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. + +
Set the tiltX
property of action
+ to tiltX.
+
+
Let tiltY be the result
+ of getting the property tiltY
+ from action item.
+
+
If tiltY is not undefined + and tiltY is not an Integer greater than or + equal to -90 and less than or equal to 90 return error with + error code invalid argument. + +
Set the tiltY
property of action
+ to tiltY.
+
+
Let twist be the result
+ of getting the property twist
+ from action item.
+
+
If twist is not undefined + and twist is not an Integer greater than or + equal to 0 and less than or equal to 359 return error with + error code invalid argument. + +
Set the twist
property of action
+ to twist.
+
+
Let altitudeAngle be the result
+ of getting the property altitudeAngle
+ from action item.
+
+
If altitudeAngle is not undefined + and altitudeAngle is not a Number greater than + or equal to 0 and less than or equal to π/2 return error with + error code invalid argument. + +
Set the altitudeAngle
property of action
+ to altitudeAngle.
+
+
Let azimuthAngle be the result
+ of getting the property azimuthAngle
+ from action item.
+
+
If azimuthAngle is not undefined + and azimuthAngle is not a Number greater than + or equal to 0 and less than or equal to 2π return error with + error code invalid argument. + +
Set the azimuthAngle
property of action
+ to azimuthAngle.
+
Return success with data null
.