Class ImageMetaData
This class represents the image meta data, e.g. width and height.
See Also:
| Property | Description |
|---|---|
height: Number (read-only) | Returns the image height. |
width: Number (read-only) | Returns the image width. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getHeight() | Returns the image height. |
| getWidth() | Returns the image width. |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
- height: Number
(read-only) Returns the image height.
- width: Number
(read-only) Returns the image width.
- getHeight(): Number
Returns the image height.
Returns:
- the image height in pixel
- getWidth(): Number
Returns the image width.
Returns:
- the image width in pixel