Cover
Reference
Tutorials
Bugs
setup <- function() {
s = loadShape(paste("https://raw.githubusercontent.com", "/gaocegege/Processing.R/master/raw-docs",
"/img/examples/bot1.svg", sep = ""))
}
draw <- function() {
shape(s, 10, 10, 80, 80)
}
shape(shape ) shape(shape ,x ,y ) shape(shape ,a ,b ,c ,d )
| shape | PShape: the shape to display |
|---|---|
| x | float: x-coordinate of the shape |
| y | float: y-coordinate of the shape |
| a | float: x-coordinate of the shape |
| b | float: y-coordinate of the shape |
| c | float: width to display the shape |
| d | float: height to display the shape |