| trianglePatterns | R Documentation | 
Functions to create triangular patterns
trianglePattern1( x0, x1, y0, y1, backgroundBorder = "black", background = "black", patternBorder = "black", foreground = "white", ... ) trianglePattern2( x0, x1, y0, y1, backgroundBorder = "black", background = "black", patternBorder = "black", foreground = "white", ... ) trianglePattern3( x0, x1, y0, y1, backgroundBorder = "black", background = "black", patternBorder = "black", foreground = "white", ... )
| x0, x1, y0, y1 | co-ordinates for the top, bottom, left and right of the square. | 
| backgroundBorder, patternBorder | colour for the lines in the background and foreground. | 
| foreground, background | colours for the foreground and background. | 
| ... | parameters passed to the component. | 
Three functions that make triangular patterns.
return a single component
Other patterns: 
checkPatterns,
makePatternBlock(),
patternBasics,
patternNames(),
squarePatterns,
stripePatterns
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.