Package: gsk
Function gsk:rounded-rect-shrink
Lambda Listgsk:rounded-rect-shrink (rect top right bottom left) ArgumentsReturn ValueThe resized gsk:rounded-rect instance. Details
Shrinks (or grows) the given rounded rectangle by moving the 4 sides
according to the offsets given.
The corner radii will be changed in a way that tries to keep the center of
the corner circle intact. This emulates CSS behavior. This function also works for growing rounded rectangles if you pass negative values for the arguments. | See also |
#2023-10-28