jacket
Search the docs
/
API
Tools
Playground
0.31.0
GetRect module
← GetRect
UI geometry
combine_hashes
get_hash
get_rect
expand
expand_x
expand_y
shrink
shrink_x
shrink_y
cut_left
cut_right
cut_bottom
cut_top
is_inside
intersect
bound
get_quad
is_visible_in_scissor
set_scissor
push_scissor
pop_scissor
darken
whiten
brighten
get_aspect
rescale
get_roundedness_for_rect
rounded_rectangle
On this page
See also
std
/
GetRect
/
shrink
shrink
procedure · 1 overload
Source
shrink
:: (rect:
Rect
, amount:
float
) ->
Rect
Parameters
rect
:
Rect
amount
:
float
Returns
Rect
See also
expand_x
expand_y
shrink_x
shrink_y