RectFitIntoRect
Callable
Parameters
sourceRect: Rect
destRect: Rect
sizeMode: DrawingResizeMode
Returns [sourceRectTuple: RectTuple, destRectTuple: RectTuple]
Index
Methods
Methods
clearCache
Clears the cache of the memoized function
Returns void
Clears the cache of the memoized function
Transform a rectangle to fit partially or wholly inside another. E.g. an image onto a background canvas