Learn to Program with ZedLX

Free Online Programming Course for Beginners

Images and Sprites [3/8]

The getter .dx from type image returns the image width. The getter .dy from type image returns the image height.

The image dimensions can also be printed out by the println statement.

Loading...