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