-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to calculate PointF[] pointFs #2
Comments
hello siddhpuraamitr. i'm glad you are interested in this library.
In your case if you have a the formula is pretyty simple:
hope this will help. Pernifloss |
Hi sir, Thank you so much for your nice suggestion, Sir, I have suggested what you have told me and still find issue, because of in Github I can not attach image so I have posted question in below link https://stackoverflow.com/questions/44819830/correct-points-value-in-imagemap Please check and help me Thank you so much from |
I want to ask is there another way to get PointF automatically from any image? |
Hello, @AchmadFadillah i don't understand how you could "get PointF automatically", the purpose of this librabry is to have clickable images on top of a main background image. The PointF returned in the adapter define where to put a given small image. (I'm closing this issue since it from 2017. please open a new one is you need) Pernifloss |
in example i got points like X, Y like below
private PointF[] pointFs = new PointF[]{
// new PointF(0.55413014f, 0.8852321f),
// new PointF(0.47312737f, 0.2281924f),
// new PointF(0.7258657f, 0.46690002f),
// new PointF(0.4931545f, 0.573822f),
// new PointF(0.51643884f, 0.45194212f),
// new PointF(0.4382141f, 0.29778966f),
// new PointF(0.29861376f, 0.36735255f),
// new PointF(0.5429275f, 0.30569845f),
// new PointF(0.3812865f, 0.6557617f),
// new PointF(0.4198726f, 0.3800899f),
// new PointF(0.55254054f, 0.0431957f)
// };
by using about points I am getting all images
but in my case I have below x, y of Points
I have used above points but I did not get any image on ImageMap
will you please help me how can i convert my points to your example points..
The text was updated successfully, but these errors were encountered: