Getting X position from Bitmap
in
Programming Questions
•
1 year ago
Hello everyone (my first post),
Example:
I am trying to load in a set of bitmaps in an array (loading 25 images using a for loop).
With that image array; I'd like to draw and position the images dynamically, where the following will happen:
Example:
Image1 wil be set at x = 40
image2 will be set at x = image1's x position + 100
image3 will be set at x = image2's x position + 100
image4 will be set at x = image3's x position + 100
etc
But how can I get the x position of a bitmap?
I can post a code example of how I load the images in if needed.
Thank you in advance!
1