Freigeben über


RectangleD.Inflate Method (RectangleD, Double, Double)

Creates and returns an inflated copy of the specified RectangleD structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Shared Function Inflate ( _
    rectangle As RectangleD, _
    x As Double, _
    y As Double _
) As RectangleD
public static RectangleD Inflate(
    RectangleD rectangle,
    double x,
    double y
)
public:
static RectangleD Inflate(
    RectangleD rectangle, 
    double x, 
    double y
)
static member Inflate : 
        rectangle:RectangleD * 
        x:float * 
        y:float -> RectangleD 
public static function Inflate(
    rectangle : RectangleD, 
    x : double, 
    y : double
) : RectangleD

Parameters

  • x
    Type: System.Double
    The amount to inflate the copy of the rectangle horizontally.
  • y
    Type: System.Double
    The amount to inflate the copy of the rectangle vertically.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.RectangleD

.NET Framework Security

See Also

Reference

RectangleD Structure

Inflate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace