Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
scott
scott's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
PShape method issues (update: resolved)
[1 Reply]
17-Sep-2013 11:03 PM
Forum:
Core Library Questions
EDIT: RESOLVED (version issue - see below)
Hi all - running processing 2.0b3 and seem to be having issues calling the set methods. I keep getting errors that look like: "The method setStroke(int, int) in the type PShape is not applicable for the arguments (int)"
PShape rectangle;
void
setup
(
)
{
size
(
640
,
360
,P2D
)
;
rectangle = createShape
(
RECT,
-50
,
-25
,
100
,
50
)
;
rectangle.
setStroke
(
color
(
255
)
)
;
rectangle.
setStrokeWeight
(
4
)
;
rectangle.
setFill
(
color
(
127
)
)
;
}
«Prev
Next »
Moderate user : scott
Forum