Window in Anark Studio 2.5
Holds information about the size of the presentation.
Inherits from:
Self Properties
| name | type | description |
|---|---|---|
| xWidth | Number | (read only) Presentation width. |
| yHeight | Number | (read only) Presentation height. |
Instance Properties
| name | type | description |
|---|---|---|
| constructor | Object | A reference to the constructor class for the current object instance. [from Object] |
| prototype | Object | The prototype for a class. [from Object] |
Instance Methods
| name | returns | description |
|---|---|---|
| hasOwnProperty(propertyOrMethodName) | Boolean | Determines if the object/instance itself has the named property or method. [from Object] |
| isPrototypeOf(instanceToTest) | Boolean | Determines if the calling object prototype is in the inheritance chain for the supplied argument. [from Object] |
| propertyIsEnumerable(propertyOrMethodName) | Boolean |
Determines if the object/instance itself has a property or method of the supplied name which will appear in a for (prop in obj) enumeration.
[from Object]
|
| toLocaleString() | String |
For most objects, the same as toString() unless explicitly overridden.
[from Object]
|
| toString() | String | Returns a string representation of the object. [from Object] |
| valueOf() | String |
Returns the internal this value of the object.
[from Object]
|
Description
The Window object is available at any time to obtain the current length and height of the presentation. Because it is a global object, it can be accessed directly.