Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > LeadRectD Structure : InflateRect Method |
'Declaration
Public Shared Function InflateRect( _ ByVal rect As LeadRectD, _ ByVal width As Double, _ ByVal height As Double _ ) As LeadRectD
'Usage
Dim rect As LeadRectD Dim width As Double Dim height As Double Dim value As LeadRectD value = LeadRectD.InflateRect(rect, width, height)
public static LeadRectD inflateRect(LeadRectD rect, double width, double height)
The Width of the resulting rectangle is increased by twice the width value, because both the left and right sides of the rectangle are inflated. Likewise, the Height of the resulting rectangle is increased by twice the height value.