1 /*
2  * Copyright (C) 2024 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 @file:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) // PublicApiNotReadyForJetpackReview
18 
19 package androidx.ink.geometry
20 
21 import androidx.annotation.RestrictTo
22 import kotlin.annotation.AnnotationRetention
23 import kotlin.annotation.MustBeDocumented
24 import kotlin.annotation.Retention
25 import kotlin.annotation.Target
26 
27 /**
28  * A signed angle in degrees. A positive value represents rotation from the positive x-axis to the
29  * positive y-axis. [Angle] class manages the conversion of angle values in degrees and radians with
30  * [Angle.radiansToDegrees] and [Angle.degreesToRadians]. Most of Strokes API requires angle values
31  * in radians.
32  */
33 @MustBeDocumented
34 @Retention(AnnotationRetention.SOURCE)
35 @Target(
36     AnnotationTarget.VALUE_PARAMETER,
37     AnnotationTarget.FUNCTION,
38     AnnotationTarget.PROPERTY_GETTER,
39     AnnotationTarget.PROPERTY_SETTER,
40     AnnotationTarget.LOCAL_VARIABLE,
41     AnnotationTarget.FIELD,
42 )
43 public annotation class AngleDegreesFloat
44