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 long packedValue; 18 property @androidx.compose.runtime.Stable public inline float x; 19 property @androidx.compose.runtime.Stable public 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 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 float bottom; 70 property public long bottomCenter; 71 property public long bottomLeft; 72 property public long bottomRight; 73 property public long center; 74 property public long centerLeft; 75 property public long centerRight; 76 property public inline float height; 77 property public boolean isEmpty; 78 property public boolean isFinite; 79 property public boolean isInfinite; 80 property public float left; 81 property public float maxDimension; 82 property public float minDimension; 83 property public float right; 84 property public long size; 85 property public float top; 86 property public long topCenter; 87 property public long topLeft; 88 property public long topRight; 89 property public 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 long packedValue; 115 property @androidx.compose.runtime.Stable public inline float x; 116 property @androidx.compose.runtime.Stable public 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 long Infinite; 125 property @androidx.compose.runtime.Stable public long Unspecified; 126 property @androidx.compose.runtime.Stable public 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 property @androidx.compose.runtime.Stable public static inline boolean long.isFinite; 137 property @androidx.compose.runtime.Stable public static inline boolean long.isSpecified; 138 property @androidx.compose.runtime.Stable public static inline boolean long.isUnspecified; 139 } 140 141 @androidx.compose.runtime.Immutable public final class Rect { 142 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); 143 method public float component1(); 144 method public float component2(); 145 method public float component3(); 146 method public float component4(); 147 method public operator boolean contains(long offset); 148 method public androidx.compose.ui.geometry.Rect copy(float left, float top, float right, float bottom); 149 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect deflate(float delta); 150 method public float getBottom(); 151 method public long getBottomCenter(); 152 method public long getBottomLeft(); 153 method public long getBottomRight(); 154 method public long getCenter(); 155 method public long getCenterLeft(); 156 method public long getCenterRight(); 157 method public inline float getHeight(); 158 method public float getLeft(); 159 method public float getMaxDimension(); 160 method public float getMinDimension(); 161 method public float getRight(); 162 method public long getSize(); 163 method public float getTop(); 164 method public long getTopCenter(); 165 method public long getTopLeft(); 166 method public long getTopRight(); 167 method public inline float getWidth(); 168 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect inflate(float delta); 169 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(androidx.compose.ui.geometry.Rect other); 170 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(float otherLeft, float otherTop, float otherRight, float otherBottom); 171 method public boolean isEmpty(); 172 method public boolean isFinite(); 173 method public boolean isInfinite(); 174 method public boolean overlaps(androidx.compose.ui.geometry.Rect other); 175 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(float translateX, float translateY); 176 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(long offset); 177 property @androidx.compose.runtime.Stable public float bottom; 178 property public long bottomCenter; 179 property public long bottomLeft; 180 property public long bottomRight; 181 property public long center; 182 property public long centerLeft; 183 property public long centerRight; 184 property @androidx.compose.runtime.Stable public inline float height; 185 property @androidx.compose.runtime.Stable public boolean isEmpty; 186 property @androidx.compose.runtime.Stable public boolean isFinite; 187 property @androidx.compose.runtime.Stable public boolean isInfinite; 188 property @androidx.compose.runtime.Stable public float left; 189 property public float maxDimension; 190 property public float minDimension; 191 property @androidx.compose.runtime.Stable public float right; 192 property @androidx.compose.runtime.Stable public long size; 193 property @androidx.compose.runtime.Stable public float top; 194 property public long topCenter; 195 property public long topLeft; 196 property public long topRight; 197 property @androidx.compose.runtime.Stable public inline float width; 198 field public static final androidx.compose.ui.geometry.Rect.Companion Companion; 199 } 200 201 public static final class Rect.Companion { 202 method public androidx.compose.ui.geometry.Rect getZero(); 203 property @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect Zero; 204 } 205 206 public final class RectKt { 207 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long center, float radius); 208 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long offset, long size); 209 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long topLeft, long bottomRight); 210 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); 211 } 212 213 @androidx.compose.runtime.Immutable public final class RoundRect { 214 ctor public RoundRect(float left, float top, float right, float bottom, optional long topLeftCornerRadius, optional long topRightCornerRadius, optional long bottomRightCornerRadius, optional long bottomLeftCornerRadius); 215 method public float component1(); 216 method public float component2(); 217 method public float component3(); 218 method public float component4(); 219 method public long component5-kKHJgLs(); 220 method public long component6-kKHJgLs(); 221 method public long component7-kKHJgLs(); 222 method public long component8-kKHJgLs(); 223 method public operator boolean contains(long point); 224 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); 225 method public float getBottom(); 226 method public long getBottomLeftCornerRadius(); 227 method public long getBottomRightCornerRadius(); 228 method public float getHeight(); 229 method public float getLeft(); 230 method public float getRight(); 231 method public float getTop(); 232 method public long getTopLeftCornerRadius(); 233 method public long getTopRightCornerRadius(); 234 method public float getWidth(); 235 method public static androidx.compose.ui.geometry.RoundRect getZero(); 236 property public float bottom; 237 property public long bottomLeftCornerRadius; 238 property public long bottomRightCornerRadius; 239 property public float height; 240 property public float left; 241 property public float right; 242 property public float top; 243 property public long topLeftCornerRadius; 244 property public long topRightCornerRadius; 245 property public float width; 246 field public static final androidx.compose.ui.geometry.RoundRect.Companion Companion; 247 } 248 249 public static final class RoundRect.Companion { 250 method public androidx.compose.ui.geometry.RoundRect getZero(); 251 property public static androidx.compose.ui.geometry.RoundRect Zero; 252 } 253 254 public final class RoundRectKt { 255 method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, float radiusX, float radiusY); 256 method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, long cornerRadius); 257 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); 258 method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, float radiusX, float radiusY); 259 method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, long cornerRadius); 260 method public static androidx.compose.ui.geometry.Rect getBoundingRect(androidx.compose.ui.geometry.RoundRect); 261 method public static long getCenter(androidx.compose.ui.geometry.RoundRect); 262 method public static float getMaxDimension(androidx.compose.ui.geometry.RoundRect); 263 method public static float getMinDimension(androidx.compose.ui.geometry.RoundRect); 264 method public static androidx.compose.ui.geometry.Rect getSafeInnerRect(androidx.compose.ui.geometry.RoundRect); 265 method public static boolean isCircle(androidx.compose.ui.geometry.RoundRect); 266 method public static boolean isEllipse(androidx.compose.ui.geometry.RoundRect); 267 method public static boolean isEmpty(androidx.compose.ui.geometry.RoundRect); 268 method public static boolean isFinite(androidx.compose.ui.geometry.RoundRect); 269 method public static boolean isRect(androidx.compose.ui.geometry.RoundRect); 270 method public static boolean isSimple(androidx.compose.ui.geometry.RoundRect); 271 method public static androidx.compose.ui.geometry.RoundRect lerp(androidx.compose.ui.geometry.RoundRect start, androidx.compose.ui.geometry.RoundRect stop, float fraction); 272 method public static androidx.compose.ui.geometry.RoundRect translate(androidx.compose.ui.geometry.RoundRect, long offset); 273 property public static androidx.compose.ui.geometry.Rect androidx.compose.ui.geometry.RoundRect.boundingRect; 274 property public static long androidx.compose.ui.geometry.RoundRect.center; 275 property public static boolean androidx.compose.ui.geometry.RoundRect.isCircle; 276 property public static boolean androidx.compose.ui.geometry.RoundRect.isEllipse; 277 property public static boolean androidx.compose.ui.geometry.RoundRect.isEmpty; 278 property public static boolean androidx.compose.ui.geometry.RoundRect.isFinite; 279 property public static boolean androidx.compose.ui.geometry.RoundRect.isRect; 280 property public static boolean androidx.compose.ui.geometry.RoundRect.isSimple; 281 property public static float androidx.compose.ui.geometry.RoundRect.maxDimension; 282 property public static float androidx.compose.ui.geometry.RoundRect.minDimension; 283 property public static androidx.compose.ui.geometry.Rect androidx.compose.ui.geometry.RoundRect.safeInnerRect; 284 } 285 286 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Size { 287 ctor public Size(long packedValue); 288 method @androidx.compose.runtime.Stable public inline operator float component1(); 289 method @androidx.compose.runtime.Stable public inline operator float component2(); 290 method public long copy(optional float width, optional float height); 291 method @androidx.compose.runtime.Stable public operator long div(float operand); 292 method public long getPackedValue(); 293 method @androidx.compose.runtime.Stable public boolean isEmpty(); 294 method @androidx.compose.runtime.Stable public operator long times(float operand); 295 property @androidx.compose.runtime.Stable public inline float height; 296 property @androidx.compose.runtime.Stable public float maxDimension; 297 property @androidx.compose.runtime.Stable public float minDimension; 298 property public long packedValue; 299 property @androidx.compose.runtime.Stable public inline float width; 300 field public static final androidx.compose.ui.geometry.Size.Companion Companion; 301 } 302 303 public static final class Size.Companion { 304 method public long getUnspecified(); 305 method public long getZero(); 306 property @androidx.compose.runtime.Stable public long Unspecified; 307 property @androidx.compose.runtime.Stable public long Zero; 308 } 309 310 public final class SizeKt { 311 method @androidx.compose.runtime.Stable public static inline long Size(float width, float height); 312 method public static long getCenter(long); 313 method public static inline boolean isSpecified(long); 314 method public static inline boolean isUnspecified(long); 315 method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction); 316 method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Size> block); 317 method @androidx.compose.runtime.Stable public static inline operator long times(double, long size); 318 method @androidx.compose.runtime.Stable public static inline operator long times(float, long size); 319 method @androidx.compose.runtime.Stable public static inline operator long times(int, long size); 320 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect toRect(long); 321 property @androidx.compose.runtime.Stable public static long long.center; 322 property @androidx.compose.runtime.Stable public static inline boolean long.isSpecified; 323 property @androidx.compose.runtime.Stable public static inline boolean long.isUnspecified; 324 } 325 326} 327 328