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