Method SizeNoScale
SizeNoScale(SizeI, PointI, RGBValue?)
Returns a resized version of this image without scaling it by adding either a border with the given color or cropping as necessary.
GenericImage SizeNoScale(SizeI size, PointI pos = default, RGBValue? color = null)
Parameters
Returns
- GenericImage
Resized image.
Remarks
The image is pasted into a new image with the given size
and
background color at the
position pos
relative to the upper left of the new image.