FlexReport for UWP | ComponentOne
C1.UWP.Document Assembly / C1.Xaml.Document Namespace / Utils Class / DeflateHalfLine Method

In This Topic
    DeflateHalfLine Method
    In This Topic
    Substracts half of left, top etc from the appropriate edge of the rect.
    Syntax
    'Declaration
     
    Public Shared Function DeflateHalfLine( _
       ByVal rect As Rect, _
       ByVal left As Double, _
       ByVal top As Double, _
       ByVal right As Double, _
       ByVal bottom As Double _
    ) As Rect
    public static Rect DeflateHalfLine( 
       Rect rect,
       double left,
       double top,
       double right,
       double bottom
    )

    Parameters

    rect
    left
    top
    right
    bottom
    See Also