1// Signature format: 4.0
2package androidx.compose.ui.geometry {
3
4  @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class CornerRadius {
5    ctor public CornerRadius(long packedValue);
6    method @androidx.compose.runtime.Stable public inline operator float component1();
7    method @androidx.compose.runtime.Stable public inline operator float component2();
8    method public long copy(optional float x, optional float y);
9    method @androidx.compose.runtime.Stable public operator long div(float operand);
10    method public long getPackedValue();
11    method @androidx.compose.runtime.Stable public inline boolean isCircular();
12    method @androidx.compose.runtime.Stable public inline boolean isZero();
13    method @androidx.compose.runtime.Stable public operator long minus(long other);
14    method @androidx.compose.runtime.Stable public operator long plus(long other);
15    method @androidx.compose.runtime.Stable public operator long times(float operand);
16    method @androidx.compose.runtime.Stable public inline operator long unaryMinus();
17    property public final long packedValue;
18    property @androidx.compose.runtime.Stable public final inline float x;
19    property @androidx.compose.runtime.Stable public final inline float y;
20    field public static final androidx.compose.ui.geometry.CornerRadius.Companion Companion;
21  }
22
23  public static final class CornerRadius.Companion {
24    method public long getZero();
25    property @androidx.compose.runtime.Stable public final long Zero;
26  }
27
28  public final class CornerRadiusKt {
29    method @androidx.compose.runtime.Stable public static inline long CornerRadius(float x, optional float y);
30    method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction);
31  }
32
33  public final class MutableRect {
34    ctor public MutableRect(float left, float top, float right, float bottom);
35    method public operator boolean contains(long offset);
36    method public void deflate(float delta);
37    method public float getBottom();
38    method public long getBottomCenter();
39    method public long getBottomLeft();
40    method public long getBottomRight();
41    method public long getCenter();
42    method public long getCenterLeft();
43    method public long getCenterRight();
44    method public inline float getHeight();
45    method public float getLeft();
46    method public float getMaxDimension();
47    method public float getMinDimension();
48    method public float getRight();
49    method public long getSize();
50    method public float getTop();
51    method public long getTopCenter();
52    method public long getTopLeft();
53    method public long getTopRight();
54    method public inline float getWidth();
55    method public void inflate(float delta);
56    method public void intersect(float left, float top, float right, float bottom);
57    method public boolean isEmpty();
58    method public boolean isFinite();
59    method public boolean isInfinite();
60    method public boolean overlaps(androidx.compose.ui.geometry.MutableRect other);
61    method public boolean overlaps(androidx.compose.ui.geometry.Rect other);
62    method public void set(float left, float top, float right, float bottom);
63    method public void setBottom(float);
64    method public void setLeft(float);
65    method public void setRight(float);
66    method public void setTop(float);
67    method public void translate(float translateX, float translateY);
68    method public void translate(long offset);
69    property public final float bottom;
70    property public final long bottomCenter;
71    property public final long bottomLeft;
72    property public final long bottomRight;
73    property public final long center;
74    property public final long centerLeft;
75    property public final long centerRight;
76    property public final inline float height;
77    property public final boolean isEmpty;
78    property public final boolean isFinite;
79    property public final boolean isInfinite;
80    property public final float left;
81    property public final float maxDimension;
82    property public final float minDimension;
83    property public final float right;
84    property public final long size;
85    property public final float top;
86    property public final long topCenter;
87    property public final long topLeft;
88    property public final long topRight;
89    property public final inline float width;
90  }
91
92  public final class MutableRectKt {
93    method public static androidx.compose.ui.geometry.MutableRect MutableRect(long center, float radius);
94    method public static androidx.compose.ui.geometry.MutableRect MutableRect(long offset, long size);
95    method public static androidx.compose.ui.geometry.MutableRect MutableRect(long topLeft, long bottomRight);
96    method public static androidx.compose.ui.geometry.Rect toRect(androidx.compose.ui.geometry.MutableRect);
97  }
98
99  @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Offset {
100    ctor public Offset(long packedValue);
101    method @androidx.compose.runtime.Stable public inline operator float component1();
102    method @androidx.compose.runtime.Stable public inline operator float component2();
103    method public long copy(optional float x, optional float y);
104    method @androidx.compose.runtime.Stable public operator long div(float operand);
105    method @androidx.compose.runtime.Stable public float getDistance();
106    method @androidx.compose.runtime.Stable public float getDistanceSquared();
107    method public long getPackedValue();
108    method @androidx.compose.runtime.Stable public inline boolean isValid();
109    method @androidx.compose.runtime.Stable public operator long minus(long other);
110    method @androidx.compose.runtime.Stable public operator long plus(long other);
111    method @androidx.compose.runtime.Stable public operator long rem(float operand);
112    method @androidx.compose.runtime.Stable public operator long times(float operand);
113    method @androidx.compose.runtime.Stable public inline operator long unaryMinus();
114    property public final long packedValue;
115    property @androidx.compose.runtime.Stable public final inline float x;
116    property @androidx.compose.runtime.Stable public final inline float y;
117    field public static final androidx.compose.ui.geometry.Offset.Companion Companion;
118  }
119
120  public static final class Offset.Companion {
121    method public long getInfinite();
122    method public long getUnspecified();
123    method public long getZero();
124    property @androidx.compose.runtime.Stable public final long Infinite;
125    property @androidx.compose.runtime.Stable public final long Unspecified;
126    property @androidx.compose.runtime.Stable public final long Zero;
127  }
128
129  public final class OffsetKt {
130    method @androidx.compose.runtime.Stable public static inline long Offset(float x, float y);
131    method public static inline boolean isFinite(long);
132    method public static inline boolean isSpecified(long);
133    method public static inline boolean isUnspecified(long);
134    method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction);
135    method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Offset> block);
136  }
137
138  @androidx.compose.runtime.Immutable public final class Rect {
139    ctor public Rect(@androidx.compose.runtime.Stable float left, @androidx.compose.runtime.Stable float top, @androidx.compose.runtime.Stable float right, @androidx.compose.runtime.Stable float bottom);
140    method public float component1();
141    method public float component2();
142    method public float component3();
143    method public float component4();
144    method public operator boolean contains(long offset);
145    method public androidx.compose.ui.geometry.Rect copy(float left, float top, float right, float bottom);
146    method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect deflate(float delta);
147    method public float getBottom();
148    method public long getBottomCenter();
149    method public long getBottomLeft();
150    method public long getBottomRight();
151    method public long getCenter();
152    method public long getCenterLeft();
153    method public long getCenterRight();
154    method public inline float getHeight();
155    method public float getLeft();
156    method public float getMaxDimension();
157    method public float getMinDimension();
158    method public float getRight();
159    method public long getSize();
160    method public float getTop();
161    method public long getTopCenter();
162    method public long getTopLeft();
163    method public long getTopRight();
164    method public inline float getWidth();
165    method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect inflate(float delta);
166    method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(androidx.compose.ui.geometry.Rect other);
167    method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(float otherLeft, float otherTop, float otherRight, float otherBottom);
168    method public boolean isEmpty();
169    method public boolean isFinite();
170    method public boolean isInfinite();
171    method public boolean overlaps(androidx.compose.ui.geometry.Rect other);
172    method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(float translateX, float translateY);
173    method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(long offset);
174    property @androidx.compose.runtime.Stable public final float bottom;
175    property public final long bottomCenter;
176    property public final long bottomLeft;
177    property public final long bottomRight;
178    property public final long center;
179    property public final long centerLeft;
180    property public final long centerRight;
181    property @androidx.compose.runtime.Stable public final inline float height;
182    property @androidx.compose.runtime.Stable public final boolean isEmpty;
183    property @androidx.compose.runtime.Stable public final boolean isFinite;
184    property @androidx.compose.runtime.Stable public final boolean isInfinite;
185    property @androidx.compose.runtime.Stable public final float left;
186    property public final float maxDimension;
187    property public final float minDimension;
188    property @androidx.compose.runtime.Stable public final float right;
189    property @androidx.compose.runtime.Stable public final long size;
190    property @androidx.compose.runtime.Stable public final float top;
191    property public final long topCenter;
192    property public final long topLeft;
193    property public final long topRight;
194    property @androidx.compose.runtime.Stable public final inline float width;
195    field public static final androidx.compose.ui.geometry.Rect.Companion Companion;
196  }
197
198  public static final class Rect.Companion {
199    method public androidx.compose.ui.geometry.Rect getZero();
200    property @androidx.compose.runtime.Stable public final androidx.compose.ui.geometry.Rect Zero;
201  }
202
203  public final class RectKt {
204    method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long center, float radius);
205    method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long offset, long size);
206    method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long topLeft, long bottomRight);
207    method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect lerp(androidx.compose.ui.geometry.Rect start, androidx.compose.ui.geometry.Rect stop, float fraction);
208  }
209
210  @androidx.compose.runtime.Immutable public final class RoundRect {
211    ctor public RoundRect(float left, float top, float right, float bottom, optional long topLeftCornerRadius, optional long topRightCornerRadius, optional long bottomRightCornerRadius, optional long bottomLeftCornerRadius);
212    method public float component1();
213    method public float component2();
214    method public float component3();
215    method public float component4();
216    method public long component5-kKHJgLs();
217    method public long component6-kKHJgLs();
218    method public long component7-kKHJgLs();
219    method public long component8-kKHJgLs();
220    method public operator boolean contains(long point);
221    method public androidx.compose.ui.geometry.RoundRect copy-MDFrsts(float left, float top, float right, float bottom, long topLeftCornerRadius, long topRightCornerRadius, long bottomRightCornerRadius, long bottomLeftCornerRadius);
222    method public float getBottom();
223    method public long getBottomLeftCornerRadius();
224    method public long getBottomRightCornerRadius();
225    method public float getHeight();
226    method public float getLeft();
227    method public float getRight();
228    method public float getTop();
229    method public long getTopLeftCornerRadius();
230    method public long getTopRightCornerRadius();
231    method public float getWidth();
232    method public static androidx.compose.ui.geometry.RoundRect getZero();
233    property public final float bottom;
234    property public final long bottomLeftCornerRadius;
235    property public final long bottomRightCornerRadius;
236    property public final float height;
237    property public final float left;
238    property public final float right;
239    property public final float top;
240    property public final long topLeftCornerRadius;
241    property public final long topRightCornerRadius;
242    property public final float width;
243    field public static final androidx.compose.ui.geometry.RoundRect.Companion Companion;
244  }
245
246  public static final class RoundRect.Companion {
247    method public androidx.compose.ui.geometry.RoundRect getZero();
248    property public final androidx.compose.ui.geometry.RoundRect Zero;
249  }
250
251  public final class RoundRectKt {
252    method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, float radiusX, float radiusY);
253    method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, long cornerRadius);
254    method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, optional long topLeft, optional long topRight, optional long bottomRight, optional long bottomLeft);
255    method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, float radiusX, float radiusY);
256    method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, long cornerRadius);
257    method public static androidx.compose.ui.geometry.Rect getBoundingRect(androidx.compose.ui.geometry.RoundRect);
258    method public static long getCenter(androidx.compose.ui.geometry.RoundRect);
259    method public static float getMaxDimension(androidx.compose.ui.geometry.RoundRect);
260    method public static float getMinDimension(androidx.compose.ui.geometry.RoundRect);
261    method public static androidx.compose.ui.geometry.Rect getSafeInnerRect(androidx.compose.ui.geometry.RoundRect);
262    method public static boolean isCircle(androidx.compose.ui.geometry.RoundRect);
263    method public static boolean isEllipse(androidx.compose.ui.geometry.RoundRect);
264    method public static boolean isEmpty(androidx.compose.ui.geometry.RoundRect);
265    method public static boolean isFinite(androidx.compose.ui.geometry.RoundRect);
266    method public static boolean isRect(androidx.compose.ui.geometry.RoundRect);
267    method public static boolean isSimple(androidx.compose.ui.geometry.RoundRect);
268    method public static androidx.compose.ui.geometry.RoundRect lerp(androidx.compose.ui.geometry.RoundRect start, androidx.compose.ui.geometry.RoundRect stop, float fraction);
269    method public static androidx.compose.ui.geometry.RoundRect translate(androidx.compose.ui.geometry.RoundRect, long offset);
270  }
271
272  @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Size {
273    ctor public Size(long packedValue);
274    method @androidx.compose.runtime.Stable public inline operator float component1();
275    method @androidx.compose.runtime.Stable public inline operator float component2();
276    method public long copy(optional float width, optional float height);
277    method @androidx.compose.runtime.Stable public operator long div(float operand);
278    method public long getPackedValue();
279    method @androidx.compose.runtime.Stable public boolean isEmpty();
280    method @androidx.compose.runtime.Stable public operator long times(float operand);
281    property @androidx.compose.runtime.Stable public final inline float height;
282    property @androidx.compose.runtime.Stable public final float maxDimension;
283    property @androidx.compose.runtime.Stable public final float minDimension;
284    property public final long packedValue;
285    property @androidx.compose.runtime.Stable public final inline float width;
286    field public static final androidx.compose.ui.geometry.Size.Companion Companion;
287  }
288
289  public static final class Size.Companion {
290    method public long getUnspecified();
291    method public long getZero();
292    property @androidx.compose.runtime.Stable public final long Unspecified;
293    property @androidx.compose.runtime.Stable public final long Zero;
294  }
295
296  public final class SizeKt {
297    method @androidx.compose.runtime.Stable public static inline long Size(float width, float height);
298    method public static long getCenter(long);
299    method public static inline boolean isSpecified(long);
300    method public static inline boolean isUnspecified(long);
301    method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction);
302    method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Size> block);
303    method @androidx.compose.runtime.Stable public static inline operator long times(double, long size);
304    method @androidx.compose.runtime.Stable public static inline operator long times(float, long size);
305    method @androidx.compose.runtime.Stable public static inline operator long times(int, long size);
306    method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect toRect(long);
307  }
308
309}
310
311