Previous: 4.51.2.3.5. getSize() To the Table of Contents Next: 4.51.2.3.7. init()
4.51.2.3.5. getSize() Table of Contents 4.51.2.3.7. init()

- 4.51.2.3.6. -
Table of Contents
4. Standard Units
4.51. ObjGfx40 - ObjectGraphics 4.0 Unit
4.51.2. ObjGfx40 Unit Object Types
4.51.2.3. ogSprite object
4.51.2.3.6. getWidth()


4.51.2.3.6. getWidth()

Targets: MS-DOS, Win32 console


ObjGfx40 Unit

Retrieves the width.

Declaration:
 function getWidth:uInt32;
Remarks:

Width is calculated as the orignal (x2-x1)+1.

Return value:

Width of the sprite, or 0 if the sprite has no image data.

See also:







Previous: 4.51.2.3.5. getSize() To the Table of Contents Next: 4.51.2.3.7. init()
4.51.2.3.5. getSize() Table of Contents 4.51.2.3.7. init()

- 4.51.2.3.6. -