Method GrowSize
GrowSize(SizeD?, SizeD)
Increazes size specified in currentSize
if it is less than size specified in minSizeAtLeast
.
Width and height are increased individually.
public static SizeD GrowSize(SizeD? currentSize, SizeD minSizeAtLeast)
Parameters
currentSize
SizeD?Current size value.
minSizeAtLeast
SizeDMinimal size of the result will be at least.