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