Hey guys!
I am having a very weird problem. I can't think of a way to flip my string in the way I want.
I am not sure if you will understand without posting an image here but I will try. Assuming I have the following string(to simplify, I will use a number):
123. What I want is NOT to get 321 but to get this string mirrored.
What I've done so far:
Unfortunately, this flips my text around the wrong axis(Y). I have to flip it around the X axis(towards the width of the Text) in order to really invert it.
I suppose that's pretty easy to implement but probably I am too tired from today's work.
Can I do it with drawText only, without creating an image?
I am having a very weird problem. I can't think of a way to flip my string in the way I want.
I am not sure if you will understand without posting an image here but I will try. Assuming I have the following string(to simplify, I will use a number):
123. What I want is NOT to get 321 but to get this string mirrored.
What I've done so far:
B4X:
Dim c As Canvas
c.Initialize(Activity)
c.DrawTextRotated(alll arguments......., 180)
Unfortunately, this flips my text around the wrong axis(Y). I have to flip it around the X axis(towards the width of the Text) in order to really invert it.
I suppose that's pretty easy to implement but probably I am too tired from today's work.
Can I do it with drawText only, without creating an image?
Last edited: