Get the width and height in pixels for the specified image. The values of width and height are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen).
filled with the image width, or -1 if the value cannot be obtained.
filled with the image height, or -1 if the value cannot be obtained.
See Implementation
Get the width and height in pixels for the specified image. The values of width and height are returned as -1 if the values cannot be obtained (for instance, if the object is not onscreen).