Skip to content
Glyphs
  • Python
  • Core:
  • Objective-C
  • Swift
  • Python
  • GlyphsCore
    • Geometry Helpers
      • GSNormalizeAngleDEG
  1. GlyphsCore
  2. Geometry Helpers

Function

GSNormalizeAngleDEG

Returns a value in the interval [0, 360).

Not available in Swift.

Declaration

static CGFloat GSNormalizeAngleDEG(CGFloat angle);

Declaration

GSNormalizeAngleDEG(angle: float) -> float

See Also

Angles and Slopes

  • GSNormalizeAngleRAD

    Returns a value in the interval [0, 2π).

  • GSNormalizeAngleDirection(_:_:)GSNormalizeAngleDirectionGSNormalizeAngleDirection

    Returns a version of the angle that matches the given direction.

  • GSSlope(_:_:)GSSlopeGSSlope