2018-10-28 21:14:05 -05:00

1 line
519 B
JavaScript

initSidebarItems({"enum":[["Shape","The shape of the rectangle corners"]],"fn":[["centered","Use x, y, half-width, half-height"],["centered_square","Create `types::Rectangle` for a square with a center in (`x`, `y`) and side `2 * radius`."],["rectangle_by_corners","Create `types::Rectangle` by the two opposite corners."],["square","Create `types::Rectangle` for a square with a top-left corner in (`x`, `y`) and side `size`."]],"struct":[["Border","The border of the rectangle"],["Rectangle","A filled rectangle"]]});