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

RoundedRect

A rounded rectangle.

Examples

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

Parameters

  • width: Length
  • height: Length
  • x: Length
  • y: Length
  • radius_bottom_left: Length
  • radius_bottom_right: Length
  • radius_top_left: Length
  • radius_top_right: Length

init(width: Length, height: Length, radius: Length)

init(size: Length, radius: Length)