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 > LeadRect Structure > Inflate Method : Inflate(Int32,Int32) Method |
'Usage
Dim instance As LeadRect Dim width As Integer Dim height As Integer instance.Inflate(width, height)
public void inflate(int width, int height)
This method inflates this rectangle, not a copy of it. The inflation along an axis is in two directions (minus direction and plus direction). For example, if a 150 by 150 rectangle is inflated by 50 in the x-axis, the resulting rectangle will be 250 units long (the original 150, the 50 in the minus direction, and the 50 in the plus direction) maintaining the rectangle's geometric center. If either width or height is negative, the rectangle structure is deflated in the corresponding direction.