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
arthur168
text() data item
in
General Discussion
•
Other
•
1 year ago
Can the text() method take a char array as the item to be printed?
1
Replies(2)
benja
Re: text() data item
1 year ago
In 2.0+ it should be possible.
But in 1.5.1 you can just create a string from the char-array:
char[] c = {'a', 'b', 'c'};
text(new String(c), 50, 50);
Leave a comment on benja's reply
PhiLho
Re: text() data item
1 year ago
Actually, it is already possible in 1.5.1:
size(200, 100);
textFont(createFont("Arial", 20));
char[] c = {'a', 'b', 'c'};
text(c, 0, c.length, 50, 50);
(unlike the simple text(), you have to explicitly create a font)
Leave a comment on PhiLho'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 arthur168's question
Top
Reply
{"z20521894":[25080000001753367],"z4085862":[25080000001754515],"z20874785":[25080000001753362]}
Statistics
2
Replies
267
Views
0
Followers
Tags
No tags available for this topic.
Cancel
Actions
Permalink
Related Posts
how do you load and display images ...
Rewrite text?
PDF Font export
Text Always Face Screen in 3D Envir...
how to convert fonts/text into curv...