ArcScale.PointToPercent(PointF) Method

Converts a point to a percent value.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v19.2.Core.dll

Declaration

public float PointToPercent(
    PointF point
)
Public Function PointToPercent(
    point As PointF
) As Single

Parameters

Name Type Description
point PointF

A point, in relative coordinates.

Returns

Type Description
Single

The percent value of the specified point. If the point belongs to the radius specified by the ArcScale.StartAngle, the percent value of 0 is returned. If the point belongs to the radius specified by the ArcScale.EndAngle, the percent value of 100 is returned.

Remarks

For information on the coordinate system, see Coordinate System.

Implements

DevExpress.XtraGauges.Core.Model.IConvertibleScaleEx.PointToPercent(PointF)
See Also