Angle
A geometric angle whose value you access in either radians or degrees.
Declaration
type Angle =
| 'zero'
| { animatableData?: number; degrees?: number; radians?: number; }
| { degrees: number; }
| { radians: number; };@frozen struct AnglePass a literal, or build one with SwiftUI.Angle from import { SwiftUI } from 'swiftui-react-native'.
Type properties
'zero'SwiftUI.Angle.zero
Type methods
Used by
- AngularGradientAn angular gradient.
- RotatedShapeA shape with a rotation transform applied to it.
- hueRotationApplies a hue rotation effect to this view.
- rotation3DEffectRenders a view's content as if it's rotated in three dimensions around the specified axis.
- rotationEffectRotates a view's rendered output in two dimensions around the specified point.
- rotationRotates this shape around an anchor point at the angle you specify.
See also
More in Drawing and shapes.
- AngularGradientAn angular gradient.
- AnyGradientA color gradient.
- BlendModeModes for compositing a view with overlapping content.
- ButtonBorderShapeA shape used to draw a button's border.
- ColorMatrixA matrix to use in an RGBA color transformation.
- ConcentricRectangleAnimatableDataThe type defining the data to animate.
- ContainerRelativeShapeA shape that is replaced by an inset version of the current container shape. If no container shape was defined, is replaced by a rectangle.
- ContentShapeKindsA kind for the content shape of a view.
- CoordinateSpaceProtocolA frame of reference within the layout system.
- DefaultGlassEffectShapeThe default shape applied by glass effects, a capsule.
- EllipticalGradientA radial gradient that draws an ellipse.
- GlobalCoordinateSpaceThe global coordinate space at the root of the view hierarchy.