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 InlineClassHelperKt { 34 property @kotlin.PublishedApi internal static final long DualFirstNaN; 35 property @kotlin.PublishedApi internal static final long DualFloatInfinityBase; 36 property @kotlin.PublishedApi internal static final long DualFloatSignBit; 37 property @kotlin.PublishedApi internal static final long DualLoadedSignificand; 38 property @kotlin.PublishedApi internal static final long DualUnsignedFloatMask; 39 property @kotlin.PublishedApi internal static final int FloatInfinityBase; 40 property @kotlin.PublishedApi internal static final long Uint64High32; 41 property @kotlin.PublishedApi internal static final long Uint64Low32; 42 property @kotlin.PublishedApi internal static final 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 final float bottom; 91 property public final long bottomCenter; 92 property public final long bottomLeft; 93 property public final long bottomRight; 94 property public final long center; 95 property public final long centerLeft; 96 property public final long centerRight; 97 property public final inline float height; 98 property public final boolean isEmpty; 99 property public final boolean isFinite; 100 property public final boolean isInfinite; 101 property public final float left; 102 property public final float maxDimension; 103 property public final float minDimension; 104 property public final float right; 105 property public final long size; 106 property public final float top; 107 property public final long topCenter; 108 property public final long topLeft; 109 property public final long topRight; 110 property public final 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 final long packedValue; 136 property @androidx.compose.runtime.Stable public final inline float x; 137 property @androidx.compose.runtime.Stable public final 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 final long Infinite; 146 property @androidx.compose.runtime.Stable public final long Unspecified; 147 property @androidx.compose.runtime.Stable public final 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 } 158 159 @androidx.compose.runtime.Immutable public final class Rect { 160 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); 161 method public float component1(); 162 method public float component2(); 163 method public float component3(); 164 method public float component4(); 165 method public operator boolean contains(long offset); 166 method public androidx.compose.ui.geometry.Rect copy(float left, float top, float right, float bottom); 167 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect deflate(float delta); 168 method public float getBottom(); 169 method public long getBottomCenter(); 170 method public long getBottomLeft(); 171 method public long getBottomRight(); 172 method public long getCenter(); 173 method public long getCenterLeft(); 174 method public long getCenterRight(); 175 method public inline float getHeight(); 176 method public float getLeft(); 177 method public float getMaxDimension(); 178 method public float getMinDimension(); 179 method public float getRight(); 180 method public long getSize(); 181 method public float getTop(); 182 method public long getTopCenter(); 183 method public long getTopLeft(); 184 method public long getTopRight(); 185 method public inline float getWidth(); 186 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect inflate(float delta); 187 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(androidx.compose.ui.geometry.Rect other); 188 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect intersect(float otherLeft, float otherTop, float otherRight, float otherBottom); 189 method public boolean isEmpty(); 190 method public boolean isFinite(); 191 method public boolean isInfinite(); 192 method public boolean overlaps(androidx.compose.ui.geometry.Rect other); 193 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(float translateX, float translateY); 194 method @androidx.compose.runtime.Stable public androidx.compose.ui.geometry.Rect translate(long offset); 195 property @androidx.compose.runtime.Stable public final float bottom; 196 property public final long bottomCenter; 197 property public final long bottomLeft; 198 property public final long bottomRight; 199 property public final long center; 200 property public final long centerLeft; 201 property public final long centerRight; 202 property @androidx.compose.runtime.Stable public final inline float height; 203 property @androidx.compose.runtime.Stable public final boolean isEmpty; 204 property @androidx.compose.runtime.Stable public final boolean isFinite; 205 property @androidx.compose.runtime.Stable public final boolean isInfinite; 206 property @androidx.compose.runtime.Stable public final float left; 207 property public final float maxDimension; 208 property public final float minDimension; 209 property @androidx.compose.runtime.Stable public final float right; 210 property @androidx.compose.runtime.Stable public final long size; 211 property @androidx.compose.runtime.Stable public final float top; 212 property public final long topCenter; 213 property public final long topLeft; 214 property public final long topRight; 215 property @androidx.compose.runtime.Stable public final inline float width; 216 field public static final androidx.compose.ui.geometry.Rect.Companion Companion; 217 } 218 219 public static final class Rect.Companion { 220 method public androidx.compose.ui.geometry.Rect getZero(); 221 property @androidx.compose.runtime.Stable public final androidx.compose.ui.geometry.Rect Zero; 222 } 223 224 public final class RectKt { 225 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long center, float radius); 226 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long offset, long size); 227 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect Rect(long topLeft, long bottomRight); 228 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); 229 } 230 231 @androidx.compose.runtime.Immutable public final class RoundRect { 232 ctor public RoundRect(float left, float top, float right, float bottom, optional long topLeftCornerRadius, optional long topRightCornerRadius, optional long bottomRightCornerRadius, optional long bottomLeftCornerRadius); 233 method public float component1(); 234 method public float component2(); 235 method public float component3(); 236 method public float component4(); 237 method public long component5-kKHJgLs(); 238 method public long component6-kKHJgLs(); 239 method public long component7-kKHJgLs(); 240 method public long component8-kKHJgLs(); 241 method public operator boolean contains(long point); 242 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); 243 method public float getBottom(); 244 method public long getBottomLeftCornerRadius(); 245 method public long getBottomRightCornerRadius(); 246 method public float getHeight(); 247 method public float getLeft(); 248 method public float getRight(); 249 method public float getTop(); 250 method public long getTopLeftCornerRadius(); 251 method public long getTopRightCornerRadius(); 252 method public float getWidth(); 253 method public static androidx.compose.ui.geometry.RoundRect getZero(); 254 property public final float bottom; 255 property public final long bottomLeftCornerRadius; 256 property public final long bottomRightCornerRadius; 257 property public final float height; 258 property public final float left; 259 property public final float right; 260 property public final float top; 261 property public final long topLeftCornerRadius; 262 property public final long topRightCornerRadius; 263 property public final float width; 264 field public static final androidx.compose.ui.geometry.RoundRect.Companion Companion; 265 } 266 267 public static final class RoundRect.Companion { 268 method public androidx.compose.ui.geometry.RoundRect getZero(); 269 property public final androidx.compose.ui.geometry.RoundRect Zero; 270 } 271 272 public final class RoundRectKt { 273 method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, float radiusX, float radiusY); 274 method public static androidx.compose.ui.geometry.RoundRect RoundRect(androidx.compose.ui.geometry.Rect rect, long cornerRadius); 275 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); 276 method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, float radiusX, float radiusY); 277 method public static androidx.compose.ui.geometry.RoundRect RoundRect(float left, float top, float right, float bottom, long cornerRadius); 278 method public static androidx.compose.ui.geometry.Rect getBoundingRect(androidx.compose.ui.geometry.RoundRect); 279 method public static long getCenter(androidx.compose.ui.geometry.RoundRect); 280 method public static float getMaxDimension(androidx.compose.ui.geometry.RoundRect); 281 method public static float getMinDimension(androidx.compose.ui.geometry.RoundRect); 282 method public static androidx.compose.ui.geometry.Rect getSafeInnerRect(androidx.compose.ui.geometry.RoundRect); 283 method public static boolean isCircle(androidx.compose.ui.geometry.RoundRect); 284 method public static boolean isEllipse(androidx.compose.ui.geometry.RoundRect); 285 method public static boolean isEmpty(androidx.compose.ui.geometry.RoundRect); 286 method public static boolean isFinite(androidx.compose.ui.geometry.RoundRect); 287 method public static boolean isRect(androidx.compose.ui.geometry.RoundRect); 288 method public static boolean isSimple(androidx.compose.ui.geometry.RoundRect); 289 method public static androidx.compose.ui.geometry.RoundRect lerp(androidx.compose.ui.geometry.RoundRect start, androidx.compose.ui.geometry.RoundRect stop, float fraction); 290 method public static androidx.compose.ui.geometry.RoundRect translate(androidx.compose.ui.geometry.RoundRect, long offset); 291 } 292 293 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Size { 294 ctor public Size(long packedValue); 295 method @androidx.compose.runtime.Stable public inline operator float component1(); 296 method @androidx.compose.runtime.Stable public inline operator float component2(); 297 method public long copy(optional float width, optional float height); 298 method @androidx.compose.runtime.Stable public operator long div(float operand); 299 method public long getPackedValue(); 300 method @androidx.compose.runtime.Stable public boolean isEmpty(); 301 method @androidx.compose.runtime.Stable public operator long times(float operand); 302 property @androidx.compose.runtime.Stable public final inline float height; 303 property @androidx.compose.runtime.Stable public final float maxDimension; 304 property @androidx.compose.runtime.Stable public final float minDimension; 305 property public final long packedValue; 306 property @androidx.compose.runtime.Stable public final inline float width; 307 field public static final androidx.compose.ui.geometry.Size.Companion Companion; 308 } 309 310 public static final class Size.Companion { 311 method public long getUnspecified(); 312 method public long getZero(); 313 property @androidx.compose.runtime.Stable public final long Unspecified; 314 property @androidx.compose.runtime.Stable public final long Zero; 315 } 316 317 public final class SizeKt { 318 method @androidx.compose.runtime.Stable public static inline long Size(float width, float height); 319 method public static long getCenter(long); 320 method public static inline boolean isSpecified(long); 321 method public static inline boolean isUnspecified(long); 322 method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, float fraction); 323 method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.geometry.Size> block); 324 method @androidx.compose.runtime.Stable public static inline operator long times(double, long size); 325 method @androidx.compose.runtime.Stable public static inline operator long times(float, long size); 326 method @androidx.compose.runtime.Stable public static inline operator long times(int, long size); 327 method @androidx.compose.runtime.Stable public static androidx.compose.ui.geometry.Rect toRect(long); 328 } 329 330} 331 332