Declaration

func metricsValue(
    _ side: GSMetricNumbers,
    atHeight height: Int
) -> CGFloat

Declaration

- (CGFloat) metricsValue:(GSMetricNumbers) side
                atHeight:(NSInteger) height;

Declaration

metricsValue_atHeight_(
    side: GSMetricNumbers,
    height: int
) -> float

Parameters

side

The metric side to measure.

height

The coordinate at which to measure the side bearing.

Discussion

For horizontal side bearings, the height is a y coordinate. For vertical side bearings, the height is an x coordinate. Returns NSNotFound when no value can be measured.

See Also

Metric Values

See Also

Metric Values