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 InlineClassHelperKt { 34 property @kotlin.PublishedApi internal static long DualFirstNaN; 35 property @kotlin.PublishedApi internal static long DualFloatInfinityBase; 36 property @kotlin.PublishedApi internal static long DualFloatSignBit; 37 property @kotlin.PublishedApi internal static long DualLoadedSignificand; 38 property @kotlin.PublishedApi internal static long DualUnsignedFloatMask; 39 property @kotlin.PublishedApi internal static int FloatInfinityBase; 40 property @kotlin.PublishedApi internal static long Uint64High32; 41 property @kotlin.PublishedApi internal static long Uint64Low32; 42 property @kotlin.PublishedApi internal static long UnspecifiedPackedFloats; 43 field @kotlin.PublishedApi internal static final long DualFirstNaN = 9187343246269874177L; // 0x7f8000017f800001L 44 field @kotlin.PublishedApi internal static final long DualFloatInfinityBase = 9187343241974906880L; // 0x7f8000007f800000L 45 field @kotlin.PublishedApi internal static final long DualFloatSignBit = -9223372034707292160L; // 0x8000000080000000L 46 field @kotlin.PublishedApi internal static final long DualLoadedSignificand = 36028792732385279L; // 0x7fffff007fffffL 47 field @kotlin.PublishedApi internal static final long DualUnsignedFloatMask = 9223372034707292159L; // 0x7fffffff7fffffffL 48 field @kotlin.PublishedApi internal static final int FloatInfinityBase = 2139095040; // 0x7f800000 49 field @kotlin.PublishedApi internal static final long Uint64High32 = -9223372034707292160L; // 0x8000000080000000L 50 field @kotlin.PublishedApi internal static final long Uint64Low32 = 4294967297L; // 0x100000001L 51 field @kotlin.PublishedApi internal static final long UnspecifiedPackedFloats = 9205357640488583168L; // 0x7fc000007fc00000L 52 } 53 54 public final class MutableRect { 55 ctor public MutableRect(float left, float top, float right, float bottom); 56 method public operator boolean contains(long offset); 57 method public void deflate(float delta); 58 method public float getBottom(); 59 method public long getBottomCenter(); 60 method public long getBottomLeft(); 61 method public long getBottomRight(); 62 method public long getCenter(); 63 method public long getCenterLeft(); 64 method public long getCenterRight(); 65 method public inline float getHeight(); 66 method public float getLeft(); 67 method public float getMaxDimension(); 68 method public float getMinDimension(); 69 method public float getRight(); 70 method public long getSize(); 71 method public float getTop(); 72 method public long getTopCenter(); 73 method public long getTopLeft(); 74 method public long getTopRight(); 75 method public inline float getWidth(); 76 method public void inflate(float delta); 77 method public void intersect(float left, float top, float right, float bottom); 78 method public boolean isEmpty(); 79 method public boolean isFinite(); 80 method public boolean isInfinite(); 81 method public boolean overlaps(androidx.compose.ui.geometry.MutableRect other); 82 method public boolean overlaps(androidx.compose.ui.geometry.Rect other); 83 method public void set(float left, float top, float right, float bottom); 84 method public void setBottom(float); 85 method public void setLeft(float); 86 method public void setRight(float); 87 method public void setTop(float); 88 method public void translate(float translateX, float translateY); 89 method public void translate(long offset); 90 property public float bottom; 91 property public long bottomCenter; 92 property public long bottomLeft; 93 property public long bottomRight; 94 property public long center; 95 property public long centerLeft; 96 property public long centerRight; 97 property public inline float height; 98 property public boolean isEmpty; 99 property public boolean isFinite; 100 property public boolean isInfinite; 101 property public float left; 102 property public float maxDimension; 103 property public float minDimension; 104 property public float right; 105 property public long size; 106 property public float top; 107 property public long topCenter; 108 property public long topLeft; 109 property public long topRight; 110 property public inline float width; 111 } 112 113 public final class MutableRectKt { 114 method public static androidx.compose.ui.geometry.MutableRect MutableRect(long center, float radius); 115 method public static androidx.compose.ui.geometry.MutableRect MutableRect(long offset, long size); 116 method public static androidx.compose.ui.geometry.MutableRect MutableRect(long topLeft, long bottomRight); 117 method public static androidx.compose.ui.geometry.Rect toRect(androidx.compose.ui.geometry.MutableRect); 118 } 119 120 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Offset { 121 ctor public Offset(long packedValue); 122 method @androidx.compose.runtime.Stable public inline operator float component1(); 123 method @androidx.compose.runtime.Stable public inline operator float component2(); 124 method public long copy(optional float x, optional float y); 125 method @androidx.compose.runtime.Stable public operator long div(float operand); 126 method @androidx.compose.runtime.Stable public float getDistance(); 127 method @androidx.compose.runtime.Stable public float getDistanceSquared(); 128 method public long getPackedValue(); 129 method @androidx.compose.runtime.Stable public inline boolean isValid(); 130 method @androidx.compose.runtime.Stable public operator long minus(long other); 131 method @androidx.compose.runtime.Stable public operator long plus(long other); 132 method @androidx.compose.runtime.Stable public operator long rem(float operand); 133 method @androidx.compose.runtime.Stable public operator long times(float operand); 134 method @androidx.compose.runtime.Stable public inline operator long unaryMinus(); 135 property public long packedValue; 136 property @androidx.compose.runtime.Stable public inline float x; 137 property @androidx.compose.runtime.Stable public inline float y; 138 field public static final androidx.compose.ui.geometry.Offset.Companion Companion; 139 } 140 141 public static final class Offset.Companion { 142 method public long getInfinite(); 143 method public long getUnspecified(); 144 method public long getZero(); 145 property @androidx.compose.runtime.Stable public long Infinite; 146 property @androidx.compose.runtime.Stable public long Unspecified; 147 property @androidx.compose.runtime.Stable public long Zero; 148 } 149 150 public final class OffsetKt { 151 method @androidx.compose.runtime.Stable public static inline long Offset(float x, float y); 152 method public static inline boolean isFinite(long); 153 method public static inline boolean isSpecified(long); 154 method public static inline boolean isUnspecified(long); 155 method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction); 156 method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Offset> block); 157 property @androidx.compose.runtime.Stable public static inline boolean long.isFinite; 158 property @androidx.compose.runtime.Stable public static inline boolean long.isSpecified; 159 property @androidx.compose.runtime.Stable public static inline boolean long.isUnspecified; 160 } 161 162 @androidx.compose.runtime.Immutable public final class Rect { 163 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); 164 method public float component1(); 165 method public float component2(); 166 method public float component3(); 167 method public float component4(); 168 method public operator boolean contains(long offset); 169 method public androidx.compose.ui.geometry.Rect copy(float left, float top, float right, float bottom); 170 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect deflate(float delta); 171 method public float getBottom(); 172 method public long getBottomCenter(); 173 method public long getBottomLeft(); 174 method public long getBottomRight(); 175 method public long getCenter(); 176 method public long getCenterLeft(); 177 method public long getCenterRight(); 178 method public inline float getHeight(); 179 method public float getLeft(); 180 method public float getMaxDimension(); 181 method public float getMinDimension(); 182 method public float getRight(); 183 method public long getSize(); 184 method public float getTop(); 185 method public long getTopCenter(); 186 method public long getTopLeft(); 187 method public long getTopRight(); 188 method public inline float getWidth(); 189 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect inflate(float delta); 190 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(androidx.compose.ui.geometry.Rect other); 191 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(float otherLeft, float otherTop, float otherRight, float otherBottom); 192 method public boolean isEmpty(); 193 method public boolean isFinite(); 194 method public boolean isInfinite(); 195 method public boolean overlaps(androidx.compose.ui.geometry.Rect other); 196 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(float translateX, float translateY); 197 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(long offset); 198 property @androidx.compose.runtime.Stable public float bottom; 199 property public long bottomCenter; 200 property public long bottomLeft; 201 property public long bottomRight; 202 property public long center; 203 property public long centerLeft; 204 property public long centerRight; 205 property @androidx.compose.runtime.Stable public inline float height; 206 property @androidx.compose.runtime.Stable public boolean isEmpty; 207 property @androidx.compose.runtime.Stable public boolean isFinite; 208 property @androidx.compose.runtime.Stable public boolean isInfinite; 209 property @androidx.compose.runtime.Stable public float left; 210 property public float maxDimension; 211 property public float minDimension; 212 property @androidx.compose.runtime.Stable public float right; 213 property @androidx.compose.runtime.Stable public long size; 214 property @androidx.compose.runtime.Stable public float top; 215 property public long topCenter; 216 property public long topLeft; 217 property public long topRight; 218 property @androidx.compose.runtime.Stable public inline float width; 219 field public static final androidx.compose.ui.geometry.Rect.Companion Companion; 220 } 221 222 public static final class Rect.Companion { 223 method public androidx.compose.ui.geometry.Rect getZero(); 224 property @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect Zero; 225 } 226 227 public final class RectKt { 228 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long center, float radius); 229 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long offset, long size); 230 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long topLeft, long bottomRight); 231 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); 232 } 233 234 @androidx.compose.runtime.Immutable public final class RoundRect { 235 ctor public RoundRect(float left, float top, float right, float bottom, optional long topLeftCornerRadius, optional long topRightCornerRadius, optional long bottomRightCornerRadius, optional long bottomLeftCornerRadius); 236 method public float component1(); 237 method public float component2(); 238 method public float component3(); 239 method public float component4(); 240 method public long component5-kKHJgLs(); 241 method public long component6-kKHJgLs(); 242 method public long component7-kKHJgLs(); 243 method public long component8-kKHJgLs(); 244 method public operator boolean contains(long point); 245 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); 246 method public float getBottom(); 247 method public long getBottomLeftCornerRadius(); 248 method public long getBottomRightCornerRadius(); 249 method public float getHeight(); 250 method public float getLeft(); 251 method public float getRight(); 252 method public float getTop(); 253 method public long getTopLeftCornerRadius(); 254 method public long getTopRightCornerRadius(); 255 method public float getWidth(); 256 method public static androidx.compose.ui.geometry.RoundRect getZero(); 257 property public float bottom; 258 property public long bottomLeftCornerRadius; 259 property public long bottomRightCornerRadius; 260 property public float height; 261 property public float left; 262 property public float right; 263 property public float top; 264 property public long topLeftCornerRadius; 265 property public long topRightCornerRadius; 266 property public float width; 267 field public static final androidx.compose.ui.geometry.RoundRect.Companion Companion; 268 } 269 270 public static final class RoundRect.Companion { 271 method public androidx.compose.ui.geometry.RoundRect getZero(); 272 property public static androidx.compose.ui.geometry.RoundRect Zero; 273 } 274 275 public final class RoundRectKt { 276 method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, float radiusX, float radiusY); 277 method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, long cornerRadius); 278 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); 279 method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, float radiusX, float radiusY); 280 method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, long cornerRadius); 281 method public static androidx.compose.ui.geometry.Rect getBoundingRect(androidx.compose.ui.geometry.RoundRect); 282 method public static long getCenter(androidx.compose.ui.geometry.RoundRect); 283 method public static float getMaxDimension(androidx.compose.ui.geometry.RoundRect); 284 method public static float getMinDimension(androidx.compose.ui.geometry.RoundRect); 285 method public static androidx.compose.ui.geometry.Rect getSafeInnerRect(androidx.compose.ui.geometry.RoundRect); 286 method public static boolean isCircle(androidx.compose.ui.geometry.RoundRect); 287 method public static boolean isEllipse(androidx.compose.ui.geometry.RoundRect); 288 method public static boolean isEmpty(androidx.compose.ui.geometry.RoundRect); 289 method public static boolean isFinite(androidx.compose.ui.geometry.RoundRect); 290 method public static boolean isRect(androidx.compose.ui.geometry.RoundRect); 291 method public static boolean isSimple(androidx.compose.ui.geometry.RoundRect); 292 method public static androidx.compose.ui.geometry.RoundRect lerp(androidx.compose.ui.geometry.RoundRect start, androidx.compose.ui.geometry.RoundRect stop, float fraction); 293 method public static androidx.compose.ui.geometry.RoundRect translate(androidx.compose.ui.geometry.RoundRect, long offset); 294 property public static androidx.compose.ui.geometry.Rect androidx.compose.ui.geometry.RoundRect.boundingRect; 295 property public static long androidx.compose.ui.geometry.RoundRect.center; 296 property public static boolean androidx.compose.ui.geometry.RoundRect.isCircle; 297 property public static boolean androidx.compose.ui.geometry.RoundRect.isEllipse; 298 property public static boolean androidx.compose.ui.geometry.RoundRect.isEmpty; 299 property public static boolean androidx.compose.ui.geometry.RoundRect.isFinite; 300 property public static boolean androidx.compose.ui.geometry.RoundRect.isRect; 301 property public static boolean androidx.compose.ui.geometry.RoundRect.isSimple; 302 property public static float androidx.compose.ui.geometry.RoundRect.maxDimension; 303 property public static float androidx.compose.ui.geometry.RoundRect.minDimension; 304 property public static androidx.compose.ui.geometry.Rect androidx.compose.ui.geometry.RoundRect.safeInnerRect; 305 } 306 307 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Size { 308 ctor public Size(long packedValue); 309 method @androidx.compose.runtime.Stable public inline operator float component1(); 310 method @androidx.compose.runtime.Stable public inline operator float component2(); 311 method public long copy(optional float width, optional float height); 312 method @androidx.compose.runtime.Stable public operator long div(float operand); 313 method public long getPackedValue(); 314 method @androidx.compose.runtime.Stable public boolean isEmpty(); 315 method @androidx.compose.runtime.Stable public operator long times(float operand); 316 property @androidx.compose.runtime.Stable public inline float height; 317 property @androidx.compose.runtime.Stable public float maxDimension; 318 property @androidx.compose.runtime.Stable public float minDimension; 319 property public long packedValue; 320 property @androidx.compose.runtime.Stable public inline float width; 321 field public static final androidx.compose.ui.geometry.Size.Companion Companion; 322 } 323 324 public static final class Size.Companion { 325 method public long getUnspecified(); 326 method public long getZero(); 327 property @androidx.compose.runtime.Stable public long Unspecified; 328 property @androidx.compose.runtime.Stable public long Zero; 329 } 330 331 public final class SizeKt { 332 method @androidx.compose.runtime.Stable public static inline long Size(float width, float height); 333 method public static long getCenter(long); 334 method public static inline boolean isSpecified(long); 335 method public static inline boolean isUnspecified(long); 336 method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction); 337 method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Size> block); 338 method @androidx.compose.runtime.Stable public static inline operator long times(double, long size); 339 method @androidx.compose.runtime.Stable public static inline operator long times(float, long size); 340 method @androidx.compose.runtime.Stable public static inline operator long times(int, long size); 341 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect toRect(long); 342 property @androidx.compose.runtime.Stable public static long long.center; 343 property @androidx.compose.runtime.Stable public static inline boolean long.isSpecified; 344 property @androidx.compose.runtime.Stable public static inline boolean long.isUnspecified; 345 } 346 347} 348 349