(defn stroke
""
([^PApplet sketch gray]
(cond
(string? gray)
(.stroke sketch (color sketch gray))
(integer? gray)
(.stroke sketch (int gray))
(float? gray)
(.stroke sketch (float gray))))
([^PApplet sketch gray alpha]
(cond
(string? gray)
(.stroke sketch (color sketch gray) (int alpha))
(integer? gray)
(.stroke sketch (int gray) (int alpha))
(float? gray)
(.stroke sketch (float gray) (float alpha))))
([^PApplet sketch x y z]
(.stroke sketch (float x) (float y) (float z)))
([^PApplet sketch x y z alpha]
(.stroke sketch (float x) (float y) (float z) (float alpha))))
Used in 0 other vars
Comments top
No comments for stroke. Log in to add a comment.