Skip to main content
A newer version of this page is available. .

ArcScale.PointToPercent(PointF) Method

Converts a point to a percent value.

Namespace: DevExpress.XtraGauges.Core.Model

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

Declaration

public float PointToPercent(
    PointF point
)

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.

See Also