trianglePatterns: Triangle Patterns

trianglePatternsR Documentation

Triangle Patterns

Description

Functions to create triangular patterns

Usage

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",
  ...
)

Arguments

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.

Details

Three functions that make triangular patterns.

Value

return a single component

See Also

Other patterns: checkPatterns, makePatternBlock(), patternBasics, patternNames(), squarePatterns, stripePatterns

Examples

print(1+1)

R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.