Angle

A geometric angle whose value you access in either radians or degrees.

StructureiOS 13.0+macOS 10.15+tvOS 13.0+watchOS 6.0+Angle in SwiftUI

Declaration

React
type Angle =
  | 'zero'
  | { animatableData?: number; degrees?: number; radians?: number; }
  | { degrees: number; }
  | { radians: number; };
Swift
@frozen struct Angle

Pass a literal, or build one with SwiftUI.Angle from import { SwiftUI } from 'swiftui-react-native'.

Type properties

Type methods

Used by

See also

More in Drawing and shapes.