checkPatterns: Check Patterns

checkPatternsR Documentation

Check Patterns

Description

Functions to create chequered patterns

Usage

checkPattern1(
  x0,
  x1,
  y0,
  y1,
  backgroundBorder = "black",
  background = "black",
  patternBorder = "black",
  foreground = "white",
  ...
)

checkPattern2(
  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

Two functions that make checkered patterns.

Value

return a single component

See Also

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

Examples

print(1+1)

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