ComponentOne FlexPivot for WinForms
C1.Win.FlexChart.4.8 Assembly / C1.Win.Chart.Annotation Namespace / Rectangle Class / Distance Method
X coordinate of the point.
Y coordinate of the point.

In This Topic
    Distance Method (Rectangle)
    In This Topic
    Calculates distance from point(x,y) to the start point of line annotation.
    Syntax
    'Declaration
     
    Protected Overrides Function Distance( _
       ByVal x As Double, _
       ByVal y As Double _
    ) As Double
    protected override double Distance( 
       double x,
       double y
    )

    Parameters

    x
    X coordinate of the point.
    y
    Y coordinate of the point.

    Return Value

    The distance from point(x,y) to the start point of line annotation.
    See Also