Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Rect

Rectangle definition.

Examples

  • Centered rect with width and height: Rect(width = 10.0mm, height = 5.0mm);

Parameters

  • width: Length
  • height: Length
  • x: Length
  • y: Length

init(width: Length, height: Length)

init(size: Length)