Leadtools Namespace > LeadRectD Structure : InflateRects Method |
'Declaration Public Shared Function InflateRects( _ ByVal rect As LeadRectD, _ ByVal size As LeadSizeD _ ) As LeadRectD
'Usage Dim rect As LeadRectD Dim size As LeadSizeD Dim value As LeadRectD value = LeadRectD.InflateRects(rect, size)
The Width of the resulting rectangle is increased by twice the LeadSizeD.Width of the specified LeadSizeD structure, because both the left and right sides of the rectangle are inflated. Likewise, the Height of the resulting rectangle is increased by twice the LeadSizeD.Height of the specified LeadSizeD structure.