Skip to main content

ArcScale.PointToPercent(PointF) Method

Converts a point to a percent value.

Namespace: DevExpress.XtraGauges.Core.Model

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

NuGet Package: DevExpress.Gauges.Core

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