Moves the corners of a rectangle inwards by a given amount.
Package
graphics-ports
Signature
inset-rectangle
rectangle
dx
dy
&optional
dx-right
dy-bottom
Arguments
rectangle
A list of integers.
dx
An integer.
dy
An integer.
dx-right
An integer.
dy-bottom
An integer.
Description
The
inset-rectangle
function moves the
left
,
top
,
right
and
bottom
elements of
rectangle
inwards towards the center by the distances
dx
,
dy
,
dx-right
and
dy-bottom
respectively.
By default,
dx-right
is
dx
, and
dy-bottom
is
dy
.