Loading...
Processing Forum
Recent Topics
All Forums
Move this topic
Forum :
Share your Work
Programming Questions
Core Library Questions
Contributed Library Questions
Android Processing
Processing with Other Languages
Integration and Hardware
Library and Tool Development
Events and Opportunities
General Discussion
Sub forum :
Move this topic
Cancel
General Discussion
Other
mataarsak
limiting the translate ?
in
General Discussion
•
Other
•
1 year ago
Is it possible to limit the translate ? I add zoom and pan to my app, but I want to put a constraint on pan and not be able to translate more that a specific point !
1
Replies(1)
tfguy44
Re: limiting the translate ?
1 year ago
translate( constrain( translateValue, lowerLimit, upperLimit ), 0 );
Leave a comment on tfguy44's reply
Change topic type
Topic Type :
Discussions
Questions
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to mataarsak's question
Top
Reply
{"z4106057":[25080000001734135],"z8901637":[25080000001733196]}
Statistics
1
Replies
309
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
Parallax, moving images according t...
Windows to Mac code translation