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