1// Signature format: 4.0 2package androidx.compose.ui.graphics { 3 4 public final class AndroidBlendMode_androidKt { 5 method public static boolean isSupported(int); 6 } 7 8 @kotlin.PublishedApi internal final class AndroidCanvas implements androidx.compose.ui.graphics.Canvas { 9 ctor public AndroidCanvas(); 10 method public void clipPath(androidx.compose.ui.graphics.Path path, int clipOp); 11 method public void clipRect(float left, float top, float right, float bottom, int clipOp); 12 method public void concat(float[] matrix); 13 method public void disableZ(); 14 method public void drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, androidx.compose.ui.graphics.Paint paint); 15 method public void drawCircle(long center, float radius, androidx.compose.ui.graphics.Paint paint); 16 method public void drawImage(androidx.compose.ui.graphics.ImageBitmap image, long topLeftOffset, androidx.compose.ui.graphics.Paint paint); 17 method public void drawImageRect(androidx.compose.ui.graphics.ImageBitmap image, long srcOffset, long srcSize, long dstOffset, long dstSize, androidx.compose.ui.graphics.Paint paint); 18 method public void drawLine(long p1, long p2, androidx.compose.ui.graphics.Paint paint); 19 method public void drawOval(float left, float top, float right, float bottom, androidx.compose.ui.graphics.Paint paint); 20 method public void drawPath(androidx.compose.ui.graphics.Path path, androidx.compose.ui.graphics.Paint paint); 21 method public void drawPoints(int pointMode, java.util.List<androidx.compose.ui.geometry.Offset> points, androidx.compose.ui.graphics.Paint paint); 22 method public void drawRawPoints(int pointMode, float[] points, androidx.compose.ui.graphics.Paint paint); 23 method public void drawRect(float left, float top, float right, float bottom, androidx.compose.ui.graphics.Paint paint); 24 method public void drawRoundRect(float left, float top, float right, float bottom, float radiusX, float radiusY, androidx.compose.ui.graphics.Paint paint); 25 method public void drawVertices(androidx.compose.ui.graphics.Vertices vertices, int blendMode, androidx.compose.ui.graphics.Paint paint); 26 method public void enableZ(); 27 method public void restore(); 28 method public void rotate(float degrees); 29 method public void save(); 30 method public void saveLayer(androidx.compose.ui.geometry.Rect bounds, androidx.compose.ui.graphics.Paint paint); 31 method public void scale(float sx, float sy); 32 method public void skew(float sx, float sy); 33 method public android.graphics.Region.Op toRegionOp(int); 34 method public void translate(float dx, float dy); 35 field @kotlin.PublishedApi internal android.graphics.Canvas internalCanvas; 36 } 37 38 public final class AndroidCanvas_androidKt { 39 method public static androidx.compose.ui.graphics.Canvas Canvas(android.graphics.Canvas c); 40 method public static android.graphics.Canvas getNativeCanvas(androidx.compose.ui.graphics.Canvas); 41 } 42 43 public final class AndroidColorFilter_androidKt { 44 method public static android.graphics.ColorFilter asAndroidColorFilter(androidx.compose.ui.graphics.ColorFilter); 45 method public static androidx.compose.ui.graphics.ColorFilter asComposeColorFilter(android.graphics.ColorFilter); 46 } 47 48 public final class AndroidColorSpace_androidKt { 49 method @RequiresApi(android.os.Build.VERSION_CODES.O) public static android.graphics.ColorSpace toAndroidColorSpace(androidx.compose.ui.graphics.colorspace.ColorSpace); 50 method @RequiresApi(android.os.Build.VERSION_CODES.O) public static androidx.compose.ui.graphics.colorspace.ColorSpace toComposeColorSpace(android.graphics.ColorSpace); 51 } 52 53 public final class AndroidImageBitmap_androidKt { 54 method public static android.graphics.Bitmap asAndroidBitmap(androidx.compose.ui.graphics.ImageBitmap); 55 method public static androidx.compose.ui.graphics.ImageBitmap asImageBitmap(android.graphics.Bitmap); 56 } 57 58 public final class AndroidMatrixConversions_androidKt { 59 method public static void setFrom(android.graphics.Matrix, float[] matrix); 60 method public static void setFrom(float[], android.graphics.Matrix matrix); 61 } 62 63 public final class AndroidPaint implements androidx.compose.ui.graphics.Paint { 64 ctor public AndroidPaint(); 65 ctor public AndroidPaint(android.graphics.Paint internalPaint); 66 method public android.graphics.Paint asFrameworkPaint(); 67 method public float getAlpha(); 68 method public int getBlendMode(); 69 method public long getColor(); 70 method public androidx.compose.ui.graphics.ColorFilter? getColorFilter(); 71 method public int getFilterQuality(); 72 method public androidx.compose.ui.graphics.PathEffect? getPathEffect(); 73 method public android.graphics.Shader? getShader(); 74 method public int getStrokeCap(); 75 method public int getStrokeJoin(); 76 method public float getStrokeMiterLimit(); 77 method public float getStrokeWidth(); 78 method public int getStyle(); 79 method public boolean isAntiAlias(); 80 method public void setAlpha(float); 81 method public void setAntiAlias(boolean); 82 method public void setBlendMode(int); 83 method public void setColor(long); 84 method public void setColorFilter(androidx.compose.ui.graphics.ColorFilter?); 85 method public void setFilterQuality(int); 86 method public void setPathEffect(androidx.compose.ui.graphics.PathEffect?); 87 method public void setShader(android.graphics.Shader?); 88 method public void setStrokeCap(int); 89 method public void setStrokeJoin(int); 90 method public void setStrokeMiterLimit(float); 91 method public void setStrokeWidth(float); 92 method public void setStyle(int); 93 property public float alpha; 94 property public int blendMode; 95 property public long color; 96 property public androidx.compose.ui.graphics.ColorFilter? colorFilter; 97 property public int filterQuality; 98 property public boolean isAntiAlias; 99 property public androidx.compose.ui.graphics.PathEffect? pathEffect; 100 property public android.graphics.Shader? shader; 101 property public int strokeCap; 102 property public int strokeJoin; 103 property public float strokeMiterLimit; 104 property public float strokeWidth; 105 property public int style; 106 } 107 108 public final class AndroidPaint_androidKt { 109 method public static androidx.compose.ui.graphics.Paint Paint(); 110 method public static androidx.compose.ui.graphics.Paint asComposePaint(android.graphics.Paint); 111 } 112 113 public final class AndroidPath implements androidx.compose.ui.graphics.Path { 114 ctor public AndroidPath(optional android.graphics.Path internalPath); 115 method public void addArc(androidx.compose.ui.geometry.Rect oval, float startAngleDegrees, float sweepAngleDegrees); 116 method public void addArcRad(androidx.compose.ui.geometry.Rect oval, float startAngleRadians, float sweepAngleRadians); 117 method public void addOval(androidx.compose.ui.geometry.Rect oval); 118 method public void addPath(androidx.compose.ui.graphics.Path path, long offset); 119 method public void addRect(androidx.compose.ui.geometry.Rect rect); 120 method public void addRoundRect(androidx.compose.ui.geometry.RoundRect roundRect); 121 method public void arcTo(androidx.compose.ui.geometry.Rect rect, float startAngleDegrees, float sweepAngleDegrees, boolean forceMoveTo); 122 method public void close(); 123 method public void cubicTo(float x1, float y1, float x2, float y2, float x3, float y3); 124 method public androidx.compose.ui.geometry.Rect getBounds(); 125 method public int getFillType(); 126 method public android.graphics.Path getInternalPath(); 127 method public boolean isConvex(); 128 method public boolean isEmpty(); 129 method public void lineTo(float x, float y); 130 method public void moveTo(float x, float y); 131 method public boolean op(androidx.compose.ui.graphics.Path path1, androidx.compose.ui.graphics.Path path2, int operation); 132 method public void quadraticBezierTo(float x1, float y1, float x2, float y2); 133 method public void relativeCubicTo(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3); 134 method public void relativeLineTo(float dx, float dy); 135 method public void relativeMoveTo(float dx, float dy); 136 method public void relativeQuadraticBezierTo(float dx1, float dy1, float dx2, float dy2); 137 method public void reset(); 138 method public void setFillType(int); 139 method public void translate(long offset); 140 property public int fillType; 141 property public final android.graphics.Path internalPath; 142 property public boolean isConvex; 143 property public boolean isEmpty; 144 } 145 146 public final class AndroidPathEffect_androidKt { 147 method public static android.graphics.PathEffect asAndroidPathEffect(androidx.compose.ui.graphics.PathEffect); 148 method public static androidx.compose.ui.graphics.PathEffect toComposePathEffect(android.graphics.PathEffect); 149 } 150 151 public final class AndroidPathMeasure implements androidx.compose.ui.graphics.PathMeasure { 152 method public float getLength(); 153 method public long getPosition(float distance); 154 method public boolean getSegment(float startDistance, float stopDistance, androidx.compose.ui.graphics.Path destination, boolean startWithMoveTo); 155 method public long getTangent(float distance); 156 method public void setPath(androidx.compose.ui.graphics.Path? path, boolean forceClosed); 157 property public float length; 158 } 159 160 public final class AndroidPathMeasure_androidKt { 161 method public static androidx.compose.ui.graphics.PathMeasure PathMeasure(); 162 } 163 164 public final class AndroidPath_androidKt { 165 method public static androidx.compose.ui.graphics.Path Path(); 166 method public static inline android.graphics.Path asAndroidPath(androidx.compose.ui.graphics.Path); 167 method public static androidx.compose.ui.graphics.Path asComposePath(android.graphics.Path); 168 } 169 170 public final class AndroidRenderEffect_androidKt { 171 method public static androidx.compose.ui.graphics.RenderEffect asComposeRenderEffect(android.graphics.RenderEffect); 172 } 173 174 public final class AndroidTileMode_androidKt { 175 method public static boolean isSupported(int); 176 method public static android.graphics.Shader.TileMode toAndroidTileMode(int); 177 method public static int toComposeTileMode(android.graphics.Shader.TileMode); 178 } 179 180 public final class AndroidVertexMode_androidKt { 181 method public static android.graphics.Canvas.VertexMode toAndroidVertexMode(int); 182 } 183 184 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class BlendMode { 185 field public static final androidx.compose.ui.graphics.BlendMode.Companion Companion; 186 } 187 188 public static final class BlendMode.Companion { 189 method public int getClear(); 190 method public int getColor(); 191 method public int getColorBurn(); 192 method public int getColorDodge(); 193 method public int getDarken(); 194 method public int getDifference(); 195 method public int getDst(); 196 method public int getDstAtop(); 197 method public int getDstIn(); 198 method public int getDstOut(); 199 method public int getDstOver(); 200 method public int getExclusion(); 201 method public int getHardlight(); 202 method public int getHue(); 203 method public int getLighten(); 204 method public int getLuminosity(); 205 method public int getModulate(); 206 method public int getMultiply(); 207 method public int getOverlay(); 208 method public int getPlus(); 209 method public int getSaturation(); 210 method public int getScreen(); 211 method public int getSoftlight(); 212 method public int getSrc(); 213 method public int getSrcAtop(); 214 method public int getSrcIn(); 215 method public int getSrcOut(); 216 method public int getSrcOver(); 217 method public int getXor(); 218 property public final int Clear; 219 property public final int Color; 220 property public final int ColorBurn; 221 property public final int ColorDodge; 222 property public final int Darken; 223 property public final int Difference; 224 property public final int Dst; 225 property public final int DstAtop; 226 property public final int DstIn; 227 property public final int DstOut; 228 property public final int DstOver; 229 property public final int Exclusion; 230 property public final int Hardlight; 231 property public final int Hue; 232 property public final int Lighten; 233 property public final int Luminosity; 234 property public final int Modulate; 235 property public final int Multiply; 236 property public final int Overlay; 237 property public final int Plus; 238 property public final int Saturation; 239 property public final int Screen; 240 property public final int Softlight; 241 property public final int Src; 242 property public final int SrcAtop; 243 property public final int SrcIn; 244 property public final int SrcOut; 245 property public final int SrcOver; 246 property public final int Xor; 247 } 248 249 @androidx.compose.runtime.Immutable public final class BlendModeColorFilter extends androidx.compose.ui.graphics.ColorFilter { 250 ctor public BlendModeColorFilter(long color, int blendMode); 251 method public int getBlendMode(); 252 method public long getColor(); 253 property public final int blendMode; 254 property public final long color; 255 } 256 257 @androidx.compose.runtime.Immutable public final class BlurEffect extends androidx.compose.ui.graphics.RenderEffect { 258 ctor public BlurEffect(androidx.compose.ui.graphics.RenderEffect? renderEffect, float radiusX, optional float radiusY, optional int edgeTreatment); 259 method @RequiresApi(android.os.Build.VERSION_CODES.S) protected android.graphics.RenderEffect createRenderEffect(); 260 } 261 262 @androidx.compose.runtime.Immutable public abstract sealed class Brush { 263 method public abstract void applyTo(long size, androidx.compose.ui.graphics.Paint p, float alpha); 264 method public long getIntrinsicSize(); 265 property public long intrinsicSize; 266 field public static final androidx.compose.ui.graphics.Brush.Companion Companion; 267 } 268 269 public static final class Brush.Companion { 270 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush horizontalGradient(java.util.List<androidx.compose.ui.graphics.Color> colors, optional float startX, optional float endX, optional int tileMode); 271 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush horizontalGradient(kotlin.Pair<java.lang.Float,androidx.compose.ui.graphics.Color>![] colorStops, optional float startX, optional float endX, optional int tileMode); 272 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush linearGradient(java.util.List<androidx.compose.ui.graphics.Color> colors, optional long start, optional long end, optional int tileMode); 273 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush linearGradient(kotlin.Pair<java.lang.Float,androidx.compose.ui.graphics.Color>![] colorStops, optional long start, optional long end, optional int tileMode); 274 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush radialGradient(java.util.List<androidx.compose.ui.graphics.Color> colors, optional long center, optional float radius, optional int tileMode); 275 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush radialGradient(kotlin.Pair<java.lang.Float,androidx.compose.ui.graphics.Color>![] colorStops, optional long center, optional float radius, optional int tileMode); 276 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush sweepGradient(java.util.List<androidx.compose.ui.graphics.Color> colors, optional long center); 277 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush sweepGradient(kotlin.Pair<java.lang.Float,androidx.compose.ui.graphics.Color>![] colorStops, optional long center); 278 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush verticalGradient(java.util.List<androidx.compose.ui.graphics.Color> colors, optional float startY, optional float endY, optional int tileMode); 279 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.Brush verticalGradient(kotlin.Pair<java.lang.Float,androidx.compose.ui.graphics.Color>![] colorStops, optional float startY, optional float endY, optional int tileMode); 280 } 281 282 public final class BrushKt { 283 method public static androidx.compose.ui.graphics.ShaderBrush ShaderBrush(android.graphics.Shader shader); 284 } 285 286 @kotlin.jvm.JvmDefaultWithCompatibility public interface Canvas { 287 method public void clipPath(androidx.compose.ui.graphics.Path path, optional int clipOp); 288 method public default void clipRect(androidx.compose.ui.geometry.Rect rect, optional int clipOp); 289 method public void clipRect(float left, float top, float right, float bottom, optional int clipOp); 290 method public void concat(float[] matrix); 291 method public void disableZ(); 292 method public default void drawArc(androidx.compose.ui.geometry.Rect rect, float startAngle, float sweepAngle, boolean useCenter, androidx.compose.ui.graphics.Paint paint); 293 method public void drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, androidx.compose.ui.graphics.Paint paint); 294 method public default void drawArcRad(androidx.compose.ui.geometry.Rect rect, float startAngleRad, float sweepAngleRad, boolean useCenter, androidx.compose.ui.graphics.Paint paint); 295 method public void drawCircle(long center, float radius, androidx.compose.ui.graphics.Paint paint); 296 method public void drawImage(androidx.compose.ui.graphics.ImageBitmap image, long topLeftOffset, androidx.compose.ui.graphics.Paint paint); 297 method public void drawImageRect(androidx.compose.ui.graphics.ImageBitmap image, optional long srcOffset, optional long srcSize, optional long dstOffset, optional long dstSize, androidx.compose.ui.graphics.Paint paint); 298 method public void drawLine(long p1, long p2, androidx.compose.ui.graphics.Paint paint); 299 method public default void drawOval(androidx.compose.ui.geometry.Rect rect, androidx.compose.ui.graphics.Paint paint); 300 method public void drawOval(float left, float top, float right, float bottom, androidx.compose.ui.graphics.Paint paint); 301 method public void drawPath(androidx.compose.ui.graphics.Path path, androidx.compose.ui.graphics.Paint paint); 302 method public void drawPoints(int pointMode, java.util.List<androidx.compose.ui.geometry.Offset> points, androidx.compose.ui.graphics.Paint paint); 303 method public void drawRawPoints(int pointMode, float[] points, androidx.compose.ui.graphics.Paint paint); 304 method public default void drawRect(androidx.compose.ui.geometry.Rect rect, androidx.compose.ui.graphics.Paint paint); 305 method public void drawRect(float left, float top, float right, float bottom, androidx.compose.ui.graphics.Paint paint); 306 method public void drawRoundRect(float left, float top, float right, float bottom, float radiusX, float radiusY, androidx.compose.ui.graphics.Paint paint); 307 method public void drawVertices(androidx.compose.ui.graphics.Vertices vertices, int blendMode, androidx.compose.ui.graphics.Paint paint); 308 method public void enableZ(); 309 method public void restore(); 310 method public void rotate(float degrees); 311 method public void save(); 312 method public void saveLayer(androidx.compose.ui.geometry.Rect bounds, androidx.compose.ui.graphics.Paint paint); 313 method public void scale(float sx, optional float sy); 314 method public void skew(float sx, float sy); 315 method public default void skewRad(float sxRad, float syRad); 316 method public void translate(float dx, float dy); 317 } 318 319 public final class CanvasHolder { 320 ctor public CanvasHolder(); 321 method public inline void drawInto(android.graphics.Canvas targetCanvas, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.Canvas,kotlin.Unit> block); 322 field @kotlin.PublishedApi internal final androidx.compose.ui.graphics.AndroidCanvas androidCanvas; 323 } 324 325 public final class CanvasKt { 326 method public static androidx.compose.ui.graphics.Canvas Canvas(androidx.compose.ui.graphics.ImageBitmap image); 327 method public static void rotate(androidx.compose.ui.graphics.Canvas, float degrees, float pivotX, float pivotY); 328 method public static void rotateRad(androidx.compose.ui.graphics.Canvas, float radians, optional float pivotX, optional float pivotY); 329 method public static void scale(androidx.compose.ui.graphics.Canvas, float sx, optional float sy, float pivotX, float pivotY); 330 method public static inline void withSave(androidx.compose.ui.graphics.Canvas, kotlin.jvm.functions.Function0<kotlin.Unit> block); 331 method public static inline void withSaveLayer(androidx.compose.ui.graphics.Canvas, androidx.compose.ui.geometry.Rect bounds, androidx.compose.ui.graphics.Paint paint, kotlin.jvm.functions.Function0<kotlin.Unit> block); 332 } 333 334 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class ClipOp { 335 field public static final androidx.compose.ui.graphics.ClipOp.Companion Companion; 336 } 337 338 public static final class ClipOp.Companion { 339 method public int getDifference(); 340 method public int getIntersect(); 341 property public final int Difference; 342 property public final int Intersect; 343 } 344 345 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class Color { 346 ctor public Color(long value); 347 method @androidx.compose.runtime.Stable public operator float component1(); 348 method @androidx.compose.runtime.Stable public operator float component2(); 349 method @androidx.compose.runtime.Stable public operator float component3(); 350 method @androidx.compose.runtime.Stable public operator float component4(); 351 method @androidx.compose.runtime.Stable public operator androidx.compose.ui.graphics.colorspace.ColorSpace component5(); 352 method public long convert(androidx.compose.ui.graphics.colorspace.ColorSpace colorSpace); 353 method @androidx.compose.runtime.Stable public long copy(optional float alpha, optional float red, optional float green, optional float blue); 354 method public float getAlpha(); 355 method public float getBlue(); 356 method public androidx.compose.ui.graphics.colorspace.ColorSpace getColorSpace(); 357 method public float getGreen(); 358 method public float getRed(); 359 method public long getValue(); 360 property @androidx.compose.runtime.Stable public final float alpha; 361 property @androidx.compose.runtime.Stable public final float blue; 362 property @androidx.compose.runtime.Stable public final androidx.compose.ui.graphics.colorspace.ColorSpace colorSpace; 363 property @androidx.compose.runtime.Stable public final float green; 364 property @androidx.compose.runtime.Stable public final float red; 365 property public final long value; 366 field public static final androidx.compose.ui.graphics.Color.Companion Companion; 367 } 368 369 public static final class Color.Companion { 370 method public long getBlack(); 371 method public long getBlue(); 372 method public long getCyan(); 373 method public long getDarkGray(); 374 method public long getGray(); 375 method public long getGreen(); 376 method public long getLightGray(); 377 method public long getMagenta(); 378 method public long getRed(); 379 method public long getTransparent(); 380 method public long getUnspecified(); 381 method public long getWhite(); 382 method public long getYellow(); 383 method public long hsl(float hue, float saturation, float lightness, optional float alpha, optional androidx.compose.ui.graphics.colorspace.Rgb colorSpace); 384 method public long hsv(float hue, float saturation, float value, optional float alpha, optional androidx.compose.ui.graphics.colorspace.Rgb colorSpace); 385 property public final long Black; 386 property public final long Blue; 387 property public final long Cyan; 388 property public final long DarkGray; 389 property public final long Gray; 390 property public final long Green; 391 property public final long LightGray; 392 property public final long Magenta; 393 property public final long Red; 394 property public final long Transparent; 395 property public final long Unspecified; 396 property public final long White; 397 property public final long Yellow; 398 } 399 400 @androidx.compose.runtime.Immutable public class ColorFilter { 401 field public static final androidx.compose.ui.graphics.ColorFilter.Companion Companion; 402 } 403 404 public static final class ColorFilter.Companion { 405 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.ColorFilter colorMatrix(float[] colorMatrix); 406 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.ColorFilter lighting(long multiply, long add); 407 method @androidx.compose.runtime.Stable public androidx.compose.ui.graphics.ColorFilter tint(long color, optional int blendMode); 408 } 409 410 public final class ColorKt { 411 method @androidx.compose.runtime.Stable public static long Color(float red, float green, float blue, optional float alpha, optional androidx.compose.ui.graphics.colorspace.ColorSpace colorSpace); 412 method @androidx.compose.runtime.Stable public static long Color(@ColorInt int color); 413 method @androidx.compose.runtime.Stable public static long Color(@IntRange(from=0L, to=255L) int red, @IntRange(from=0L, to=255L) int green, @IntRange(from=0L, to=255L) int blue, optional @IntRange(from=0L, to=255L) int alpha); 414 method @androidx.compose.runtime.Stable public static long Color(long color); 415 method @androidx.compose.runtime.Stable public static long compositeOver(long, long background); 416 method public static inline boolean isSpecified(long); 417 method public static inline boolean isUnspecified(long); 418 method @androidx.compose.runtime.Stable public static long lerp(long start, long stop, @FloatRange(from=0.0, to=1.0) float fraction); 419 method @androidx.compose.runtime.Stable public static float luminance(long); 420 method public static inline long takeOrElse(long, kotlin.jvm.functions.Function0<androidx.compose.ui.graphics.Color> block); 421 method @ColorInt @androidx.compose.runtime.Stable public static int toArgb(long); 422 } 423 424 @kotlin.jvm.JvmInline public final value class ColorMatrix { 425 ctor public ColorMatrix(optional float[] values); 426 method public void convertRgbToYuv(); 427 method public void convertYuvToRgb(); 428 method public inline operator float get(int row, int column); 429 method public float[] getValues(); 430 method public void reset(); 431 method public void set(float[] src); 432 method public inline operator void set(int row, int column, float v); 433 method public void setToRotateBlue(float degrees); 434 method public void setToRotateGreen(float degrees); 435 method public void setToRotateRed(float degrees); 436 method public void setToSaturation(float sat); 437 method public void setToScale(float redScale, float greenScale, float blueScale, float alphaScale); 438 method public operator void timesAssign(float[] colorMatrix); 439 property public final float[] values; 440 } 441 442 @androidx.compose.runtime.Immutable public final class ColorMatrixColorFilter extends androidx.compose.ui.graphics.ColorFilter { 443 ctor public ColorMatrixColorFilter(float[] colorMatrix); 444 method public float[] copyColorMatrix(optional float[] targetColorMatrix); 445 } 446 447 public fun interface ColorProducer { 448 method public operator long invoke(); 449 } 450 451 public final class DegreesKt { 452 method @kotlin.PublishedApi internal static float degrees(float radians); 453 } 454 455 @SuppressCompatibility @kotlin.RequiresOptIn(message="This API is experimental and is likely to change in the future.") @kotlin.annotation.Retention(kotlin.annotation.AnnotationRetention.BINARY) public @interface ExperimentalGraphicsApi { 456 } 457 458 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class FilterQuality { 459 method public int getValue(); 460 property public final int value; 461 field public static final androidx.compose.ui.graphics.FilterQuality.Companion Companion; 462 } 463 464 public static final class FilterQuality.Companion { 465 method public int getHigh(); 466 method public int getLow(); 467 method public int getMedium(); 468 method public int getNone(); 469 property public final int High; 470 property public final int Low; 471 property public final int Medium; 472 property public final int None; 473 } 474 475 @kotlin.jvm.JvmDefaultWithCompatibility public interface ImageBitmap { 476 method public androidx.compose.ui.graphics.colorspace.ColorSpace getColorSpace(); 477 method public int getConfig(); 478 method public boolean getHasAlpha(); 479 method public int getHeight(); 480 method public int getWidth(); 481 method public void prepareToDraw(); 482 method public void readPixels(int[] buffer, optional int startX, optional int startY, optional int width, optional int height, optional int bufferOffset, optional int stride); 483 property public abstract androidx.compose.ui.graphics.colorspace.ColorSpace colorSpace; 484 property public abstract int config; 485 property public abstract boolean hasAlpha; 486 property public abstract int height; 487 property public abstract int width; 488 field public static final androidx.compose.ui.graphics.ImageBitmap.Companion Companion; 489 } 490 491 public static final class ImageBitmap.Companion { 492 } 493 494 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class ImageBitmapConfig { 495 method public int getValue(); 496 property public final int value; 497 field public static final androidx.compose.ui.graphics.ImageBitmapConfig.Companion Companion; 498 } 499 500 public static final class ImageBitmapConfig.Companion { 501 method public int getAlpha8(); 502 method public int getArgb8888(); 503 method public int getF16(); 504 method public int getGpu(); 505 method public int getRgb565(); 506 property public final int Alpha8; 507 property public final int Argb8888; 508 property public final int F16; 509 property public final int Gpu; 510 property public final int Rgb565; 511 } 512 513 public final class ImageBitmapKt { 514 method public static androidx.compose.ui.graphics.ImageBitmap ImageBitmap(int width, int height, optional int config, optional boolean hasAlpha, optional androidx.compose.ui.graphics.colorspace.ColorSpace colorSpace); 515 method public static androidx.compose.ui.graphics.PixelMap toPixelMap(androidx.compose.ui.graphics.ImageBitmap, optional int startX, optional int startY, optional int width, optional int height, optional int[] buffer, optional int bufferOffset, optional int stride); 516 } 517 518 @androidx.compose.runtime.Immutable public final class LightingColorFilter extends androidx.compose.ui.graphics.ColorFilter { 519 ctor public LightingColorFilter(long multiply, long add); 520 method public long getAdd(); 521 method public long getMultiply(); 522 property public final long add; 523 property public final long multiply; 524 } 525 526 @androidx.compose.runtime.Immutable public final class LinearGradient extends androidx.compose.ui.graphics.ShaderBrush { 527 method public android.graphics.Shader createShader(long size); 528 property public long intrinsicSize; 529 } 530 531 @kotlin.jvm.JvmInline public final value class Matrix { 532 ctor public Matrix(optional float[] values); 533 method public inline operator float get(int row, int column); 534 method public float[] getValues(); 535 method public void invert(); 536 method public void map(androidx.compose.ui.geometry.MutableRect rect); 537 method public androidx.compose.ui.geometry.Rect map(androidx.compose.ui.geometry.Rect rect); 538 method public long map(long point); 539 method public void reset(); 540 method public void rotateX(float degrees); 541 method public void rotateY(float degrees); 542 method public void rotateZ(float degrees); 543 method public void scale(optional float x, optional float y, optional float z); 544 method public inline operator void set(int row, int column, float v); 545 method public void setFrom(float[] matrix); 546 method public operator void timesAssign(float[] m); 547 method public void translate(optional float x, optional float y, optional float z); 548 property public final float[] values; 549 field public static final androidx.compose.ui.graphics.Matrix.Companion Companion; 550 field public static final int Perspective0 = 3; // 0x3 551 field public static final int Perspective1 = 7; // 0x7 552 field public static final int Perspective2 = 15; // 0xf 553 field public static final int ScaleX = 0; // 0x0 554 field public static final int ScaleY = 5; // 0x5 555 field public static final int ScaleZ = 10; // 0xa 556 field public static final int SkewX = 4; // 0x4 557 field public static final int SkewY = 1; // 0x1 558 field public static final int TranslateX = 12; // 0xc 559 field public static final int TranslateY = 13; // 0xd 560 field public static final int TranslateZ = 14; // 0xe 561 } 562 563 public static final class Matrix.Companion { 564 } 565 566 public final class MatrixKt { 567 method public static boolean isIdentity(float[]); 568 } 569 570 @androidx.compose.runtime.Immutable public final class OffsetEffect extends androidx.compose.ui.graphics.RenderEffect { 571 ctor public OffsetEffect(androidx.compose.ui.graphics.RenderEffect? renderEffect, long offset); 572 method @RequiresApi(android.os.Build.VERSION_CODES.S) protected android.graphics.RenderEffect createRenderEffect(); 573 } 574 575 public abstract sealed class Outline { 576 method public abstract androidx.compose.ui.geometry.Rect getBounds(); 577 property public abstract androidx.compose.ui.geometry.Rect bounds; 578 } 579 580 public static final class Outline.Generic extends androidx.compose.ui.graphics.Outline { 581 ctor public Outline.Generic(androidx.compose.ui.graphics.Path path); 582 method public androidx.compose.ui.geometry.Rect getBounds(); 583 method public androidx.compose.ui.graphics.Path getPath(); 584 property public androidx.compose.ui.geometry.Rect bounds; 585 property public final androidx.compose.ui.graphics.Path path; 586 } 587 588 @androidx.compose.runtime.Immutable public static final class Outline.Rectangle extends androidx.compose.ui.graphics.Outline { 589 ctor public Outline.Rectangle(androidx.compose.ui.geometry.Rect rect); 590 method public androidx.compose.ui.geometry.Rect getBounds(); 591 method public androidx.compose.ui.geometry.Rect getRect(); 592 property public androidx.compose.ui.geometry.Rect bounds; 593 property public final androidx.compose.ui.geometry.Rect rect; 594 } 595 596 @androidx.compose.runtime.Immutable public static final class Outline.Rounded extends androidx.compose.ui.graphics.Outline { 597 ctor public Outline.Rounded(androidx.compose.ui.geometry.RoundRect roundRect); 598 method public androidx.compose.ui.geometry.Rect getBounds(); 599 method public androidx.compose.ui.geometry.RoundRect getRoundRect(); 600 property public androidx.compose.ui.geometry.Rect bounds; 601 property public final androidx.compose.ui.geometry.RoundRect roundRect; 602 } 603 604 public final class OutlineKt { 605 method public static void addOutline(androidx.compose.ui.graphics.Path, androidx.compose.ui.graphics.Outline outline); 606 method public static void drawOutline(androidx.compose.ui.graphics.Canvas, androidx.compose.ui.graphics.Outline outline, androidx.compose.ui.graphics.Paint paint); 607 method public static void drawOutline(androidx.compose.ui.graphics.drawscope.DrawScope, androidx.compose.ui.graphics.Outline outline, androidx.compose.ui.graphics.Brush brush, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 608 method public static void drawOutline(androidx.compose.ui.graphics.drawscope.DrawScope, androidx.compose.ui.graphics.Outline outline, long color, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 609 } 610 611 public interface Paint { 612 method public android.graphics.Paint asFrameworkPaint(); 613 method public float getAlpha(); 614 method public int getBlendMode(); 615 method public long getColor(); 616 method public androidx.compose.ui.graphics.ColorFilter? getColorFilter(); 617 method public int getFilterQuality(); 618 method public androidx.compose.ui.graphics.PathEffect? getPathEffect(); 619 method public android.graphics.Shader? getShader(); 620 method public int getStrokeCap(); 621 method public int getStrokeJoin(); 622 method public float getStrokeMiterLimit(); 623 method public float getStrokeWidth(); 624 method public int getStyle(); 625 method public boolean isAntiAlias(); 626 method public void setAlpha(float); 627 method public void setAntiAlias(boolean); 628 method public void setBlendMode(int); 629 method public void setColor(long); 630 method public void setColorFilter(androidx.compose.ui.graphics.ColorFilter?); 631 method public void setFilterQuality(int); 632 method public void setPathEffect(androidx.compose.ui.graphics.PathEffect?); 633 method public void setShader(android.graphics.Shader?); 634 method public void setStrokeCap(int); 635 method public void setStrokeJoin(int); 636 method public void setStrokeMiterLimit(float); 637 method public void setStrokeWidth(float); 638 method public void setStyle(int); 639 property public abstract float alpha; 640 property public abstract int blendMode; 641 property public abstract long color; 642 property public abstract androidx.compose.ui.graphics.ColorFilter? colorFilter; 643 property public abstract int filterQuality; 644 property public abstract boolean isAntiAlias; 645 property public abstract androidx.compose.ui.graphics.PathEffect? pathEffect; 646 property public abstract android.graphics.Shader? shader; 647 property public abstract int strokeCap; 648 property public abstract int strokeJoin; 649 property public abstract float strokeMiterLimit; 650 property public abstract float strokeWidth; 651 property public abstract int style; 652 } 653 654 public final class PaintKt { 655 method public static androidx.compose.ui.graphics.Paint Paint(); 656 field public static final float DefaultAlpha = 1.0f; 657 } 658 659 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class PaintingStyle { 660 field public static final androidx.compose.ui.graphics.PaintingStyle.Companion Companion; 661 } 662 663 public static final class PaintingStyle.Companion { 664 method public int getFill(); 665 method public int getStroke(); 666 property public final int Fill; 667 property public final int Stroke; 668 } 669 670 @kotlin.jvm.JvmDefaultWithCompatibility public interface Path { 671 method public void addArc(androidx.compose.ui.geometry.Rect oval, float startAngleDegrees, float sweepAngleDegrees); 672 method public void addArcRad(androidx.compose.ui.geometry.Rect oval, float startAngleRadians, float sweepAngleRadians); 673 method public void addOval(androidx.compose.ui.geometry.Rect oval); 674 method public void addPath(androidx.compose.ui.graphics.Path path, optional long offset); 675 method public void addRect(androidx.compose.ui.geometry.Rect rect); 676 method public void addRoundRect(androidx.compose.ui.geometry.RoundRect roundRect); 677 method public void arcTo(androidx.compose.ui.geometry.Rect rect, float startAngleDegrees, float sweepAngleDegrees, boolean forceMoveTo); 678 method public default void arcToRad(androidx.compose.ui.geometry.Rect rect, float startAngleRadians, float sweepAngleRadians, boolean forceMoveTo); 679 method public void close(); 680 method public void cubicTo(float x1, float y1, float x2, float y2, float x3, float y3); 681 method public androidx.compose.ui.geometry.Rect getBounds(); 682 method public int getFillType(); 683 method public boolean isConvex(); 684 method public boolean isEmpty(); 685 method public void lineTo(float x, float y); 686 method public void moveTo(float x, float y); 687 method public boolean op(androidx.compose.ui.graphics.Path path1, androidx.compose.ui.graphics.Path path2, int operation); 688 method public void quadraticBezierTo(float x1, float y1, float x2, float y2); 689 method public void relativeCubicTo(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3); 690 method public void relativeLineTo(float dx, float dy); 691 method public void relativeMoveTo(float dx, float dy); 692 method public void relativeQuadraticBezierTo(float dx1, float dy1, float dx2, float dy2); 693 method public void reset(); 694 method public default void rewind(); 695 method public void setFillType(int); 696 method public default void transform(float[] matrix); 697 method public void translate(long offset); 698 property public abstract int fillType; 699 property public abstract boolean isConvex; 700 property public abstract boolean isEmpty; 701 field public static final androidx.compose.ui.graphics.Path.Companion Companion; 702 } 703 704 public static final class Path.Companion { 705 method public androidx.compose.ui.graphics.Path combine(int operation, androidx.compose.ui.graphics.Path path1, androidx.compose.ui.graphics.Path path2); 706 } 707 708 public interface PathEffect { 709 field public static final androidx.compose.ui.graphics.PathEffect.Companion Companion; 710 } 711 712 public static final class PathEffect.Companion { 713 method public androidx.compose.ui.graphics.PathEffect chainPathEffect(androidx.compose.ui.graphics.PathEffect outer, androidx.compose.ui.graphics.PathEffect inner); 714 method public androidx.compose.ui.graphics.PathEffect cornerPathEffect(float radius); 715 method public androidx.compose.ui.graphics.PathEffect dashPathEffect(float[] intervals, optional float phase); 716 method public androidx.compose.ui.graphics.PathEffect stampedPathEffect(androidx.compose.ui.graphics.Path shape, float advance, float phase, int style); 717 } 718 719 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class PathFillType { 720 field public static final androidx.compose.ui.graphics.PathFillType.Companion Companion; 721 } 722 723 public static final class PathFillType.Companion { 724 method public int getEvenOdd(); 725 method public int getNonZero(); 726 property public final int EvenOdd; 727 property public final int NonZero; 728 } 729 730 @kotlin.jvm.JvmDefaultWithCompatibility public interface PathMeasure { 731 method public float getLength(); 732 method public long getPosition(float distance); 733 method public boolean getSegment(float startDistance, float stopDistance, androidx.compose.ui.graphics.Path destination, optional boolean startWithMoveTo); 734 method public long getTangent(float distance); 735 method public void setPath(androidx.compose.ui.graphics.Path? path, boolean forceClosed); 736 property public abstract float length; 737 } 738 739 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class PathOperation { 740 field public static final androidx.compose.ui.graphics.PathOperation.Companion Companion; 741 } 742 743 public static final class PathOperation.Companion { 744 method public int getDifference(); 745 method public int getIntersect(); 746 method public int getReverseDifference(); 747 method public int getUnion(); 748 method public int getXor(); 749 property public final int Difference; 750 property public final int Intersect; 751 property public final int ReverseDifference; 752 property public final int Union; 753 property public final int Xor; 754 } 755 756 public final class PathOperationKt { 757 method @Deprecated public static int getDifference(androidx.compose.ui.graphics.PathOperation.Companion); 758 method @Deprecated public static int getIntersect(androidx.compose.ui.graphics.PathOperation.Companion); 759 method @Deprecated public static int getReverseDifference(androidx.compose.ui.graphics.PathOperation.Companion); 760 method @Deprecated public static int getUnion(androidx.compose.ui.graphics.PathOperation.Companion); 761 method @Deprecated public static int getXor(androidx.compose.ui.graphics.PathOperation.Companion); 762 } 763 764 public final class PixelMap { 765 ctor public PixelMap(int[] buffer, int width, int height, int bufferOffset, int stride); 766 method public operator long get(@IntRange(from=0L) int x, @IntRange(from=0L) int y); 767 method public int[] getBuffer(); 768 method public int getBufferOffset(); 769 method public int getHeight(); 770 method public int getStride(); 771 method public int getWidth(); 772 property public final int[] buffer; 773 property public final int bufferOffset; 774 property public final int height; 775 property public final int stride; 776 property public final int width; 777 } 778 779 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class PointMode { 780 field public static final androidx.compose.ui.graphics.PointMode.Companion Companion; 781 } 782 783 public static final class PointMode.Companion { 784 method public int getLines(); 785 method public int getPoints(); 786 method public int getPolygon(); 787 property public final int Lines; 788 property public final int Points; 789 property public final int Polygon; 790 } 791 792 @androidx.compose.runtime.Immutable public final class RadialGradient extends androidx.compose.ui.graphics.ShaderBrush { 793 method public android.graphics.Shader createShader(long size); 794 property public long intrinsicSize; 795 } 796 797 public final class RectHelper_androidKt { 798 method @Deprecated public static android.graphics.Rect toAndroidRect(androidx.compose.ui.geometry.Rect); 799 method public static android.graphics.Rect toAndroidRect(androidx.compose.ui.unit.IntRect); 800 method public static android.graphics.RectF toAndroidRectF(androidx.compose.ui.geometry.Rect); 801 method public static androidx.compose.ui.unit.IntRect toComposeIntRect(android.graphics.Rect); 802 method public static androidx.compose.ui.geometry.Rect toComposeRect(android.graphics.Rect); 803 } 804 805 public final class RectangleShapeKt { 806 method public static androidx.compose.ui.graphics.Shape getRectangleShape(); 807 property public static final androidx.compose.ui.graphics.Shape RectangleShape; 808 } 809 810 @androidx.compose.runtime.Immutable public abstract sealed class RenderEffect { 811 method @RequiresApi(android.os.Build.VERSION_CODES.S) public final android.graphics.RenderEffect asAndroidRenderEffect(); 812 method @RequiresApi(android.os.Build.VERSION_CODES.S) protected abstract android.graphics.RenderEffect createRenderEffect(); 813 method public boolean isSupported(); 814 } 815 816 public final class RenderEffectKt { 817 method @androidx.compose.runtime.Stable public static androidx.compose.ui.graphics.BlurEffect BlurEffect(float radiusX, float radiusY, optional int edgeTreatment); 818 method @androidx.compose.runtime.Stable public static androidx.compose.ui.graphics.OffsetEffect OffsetEffect(float offsetX, float offsetY); 819 } 820 821 @androidx.compose.runtime.Immutable public abstract class ShaderBrush extends androidx.compose.ui.graphics.Brush { 822 ctor public ShaderBrush(); 823 method public final void applyTo(long size, androidx.compose.ui.graphics.Paint p, float alpha); 824 method public abstract android.graphics.Shader createShader(long size); 825 } 826 827 public final class ShaderKt { 828 method public static android.graphics.Shader ImageShader(androidx.compose.ui.graphics.ImageBitmap image, optional int tileModeX, optional int tileModeY); 829 method public static android.graphics.Shader LinearGradientShader(long from, long to, java.util.List<androidx.compose.ui.graphics.Color> colors, optional java.util.List<java.lang.Float>? colorStops, optional int tileMode); 830 method public static android.graphics.Shader RadialGradientShader(long center, float radius, java.util.List<androidx.compose.ui.graphics.Color> colors, optional java.util.List<java.lang.Float>? colorStops, optional int tileMode); 831 method public static android.graphics.Shader SweepGradientShader(long center, java.util.List<androidx.compose.ui.graphics.Color> colors, optional java.util.List<java.lang.Float>? colorStops); 832 } 833 834 @androidx.compose.runtime.Immutable public final class Shadow { 835 ctor public Shadow(optional @androidx.compose.runtime.Stable long color, optional @androidx.compose.runtime.Stable long offset, optional @androidx.compose.runtime.Stable float blurRadius); 836 method public androidx.compose.ui.graphics.Shadow copy(optional long color, optional long offset, optional float blurRadius); 837 method public float getBlurRadius(); 838 method public long getColor(); 839 method public long getOffset(); 840 property public final float blurRadius; 841 property public final long color; 842 property public final long offset; 843 field public static final androidx.compose.ui.graphics.Shadow.Companion Companion; 844 } 845 846 public static final class Shadow.Companion { 847 method public androidx.compose.ui.graphics.Shadow getNone(); 848 property public final androidx.compose.ui.graphics.Shadow None; 849 } 850 851 public final class ShadowKt { 852 method @androidx.compose.runtime.Stable public static androidx.compose.ui.graphics.Shadow lerp(androidx.compose.ui.graphics.Shadow start, androidx.compose.ui.graphics.Shadow stop, float fraction); 853 } 854 855 @androidx.compose.runtime.Immutable public interface Shape { 856 method public androidx.compose.ui.graphics.Outline createOutline(long size, androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.ui.unit.Density density); 857 } 858 859 @androidx.compose.runtime.Immutable public final class SolidColor extends androidx.compose.ui.graphics.Brush { 860 ctor public SolidColor(long value); 861 method public void applyTo(long size, androidx.compose.ui.graphics.Paint p, float alpha); 862 method public long getValue(); 863 property public final long value; 864 } 865 866 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class StampedPathEffectStyle { 867 field public static final androidx.compose.ui.graphics.StampedPathEffectStyle.Companion Companion; 868 } 869 870 public static final class StampedPathEffectStyle.Companion { 871 method public int getMorph(); 872 method public int getRotate(); 873 method public int getTranslate(); 874 property public final int Morph; 875 property public final int Rotate; 876 property public final int Translate; 877 } 878 879 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class StrokeCap { 880 field public static final androidx.compose.ui.graphics.StrokeCap.Companion Companion; 881 } 882 883 public static final class StrokeCap.Companion { 884 method public int getButt(); 885 method public int getRound(); 886 method public int getSquare(); 887 property public final int Butt; 888 property public final int Round; 889 property public final int Square; 890 } 891 892 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class StrokeJoin { 893 field public static final androidx.compose.ui.graphics.StrokeJoin.Companion Companion; 894 } 895 896 public static final class StrokeJoin.Companion { 897 method public int getBevel(); 898 method public int getMiter(); 899 method public int getRound(); 900 property public final int Bevel; 901 property public final int Miter; 902 property public final int Round; 903 } 904 905 @androidx.compose.runtime.Immutable public final class SweepGradient extends androidx.compose.ui.graphics.ShaderBrush { 906 method public android.graphics.Shader createShader(long size); 907 } 908 909 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class TileMode { 910 field public static final androidx.compose.ui.graphics.TileMode.Companion Companion; 911 } 912 913 public static final class TileMode.Companion { 914 method public int getClamp(); 915 method public int getDecal(); 916 method public int getMirror(); 917 method public int getRepeated(); 918 property public final int Clamp; 919 property public final int Decal; 920 property public final int Mirror; 921 property public final int Repeated; 922 } 923 924 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class VertexMode { 925 field public static final androidx.compose.ui.graphics.VertexMode.Companion Companion; 926 } 927 928 public static final class VertexMode.Companion { 929 method public int getTriangleFan(); 930 method public int getTriangleStrip(); 931 method public int getTriangles(); 932 property public final int TriangleFan; 933 property public final int TriangleStrip; 934 property public final int Triangles; 935 } 936 937 public final class Vertices { 938 ctor public Vertices(int vertexMode, java.util.List<androidx.compose.ui.geometry.Offset> positions, java.util.List<androidx.compose.ui.geometry.Offset> textureCoordinates, java.util.List<androidx.compose.ui.graphics.Color> colors, java.util.List<java.lang.Integer> indices); 939 method public int[] getColors(); 940 method public short[] getIndices(); 941 method public float[] getPositions(); 942 method public float[] getTextureCoordinates(); 943 method public int getVertexMode(); 944 property public final int[] colors; 945 property public final short[] indices; 946 property public final float[] positions; 947 property public final float[] textureCoordinates; 948 property public final int vertexMode; 949 } 950 951} 952 953package androidx.compose.ui.graphics.colorspace { 954 955 public abstract class Adaptation { 956 field public static final androidx.compose.ui.graphics.colorspace.Adaptation.Companion Companion; 957 } 958 959 public static final class Adaptation.Companion { 960 method public androidx.compose.ui.graphics.colorspace.Adaptation getBradford(); 961 method public androidx.compose.ui.graphics.colorspace.Adaptation getCiecat02(); 962 method public androidx.compose.ui.graphics.colorspace.Adaptation getVonKries(); 963 property public final androidx.compose.ui.graphics.colorspace.Adaptation Bradford; 964 property public final androidx.compose.ui.graphics.colorspace.Adaptation Ciecat02; 965 property public final androidx.compose.ui.graphics.colorspace.Adaptation VonKries; 966 } 967 968 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class ColorModel { 969 method @IntRange(from=1L, to=4L) public int getComponentCount(); 970 property @IntRange(from=1L, to=4L) @androidx.compose.runtime.Stable public final int componentCount; 971 field public static final androidx.compose.ui.graphics.colorspace.ColorModel.Companion Companion; 972 } 973 974 public static final class ColorModel.Companion { 975 method public long getCmyk(); 976 method public long getLab(); 977 method public long getRgb(); 978 method public long getXyz(); 979 property public final long Cmyk; 980 property public final long Lab; 981 property public final long Rgb; 982 property public final long Xyz; 983 } 984 985 public abstract class ColorSpace { 986 ctor public ColorSpace(String name, long model); 987 method @Size(min=3L) public final float[] fromXyz(float x, float y, float z); 988 method @Size(min=3L) public abstract float[] fromXyz(@Size(min=3L) float[] v); 989 method @IntRange(from=1L, to=4L) public final int getComponentCount(); 990 method public abstract float getMaxValue(@IntRange(from=0L, to=3L) int component); 991 method public abstract float getMinValue(@IntRange(from=0L, to=3L) int component); 992 method public final long getModel(); 993 method public final String getName(); 994 method public boolean isSrgb(); 995 method public abstract boolean isWideGamut(); 996 method @Size(3L) public final float[] toXyz(float r, float g, float b); 997 method @Size(min=3L) public abstract float[] toXyz(@Size(min=3L) float[] v); 998 property @IntRange(from=1L, to=4L) public final int componentCount; 999 property public boolean isSrgb; 1000 property public abstract boolean isWideGamut; 1001 property public final long model; 1002 property public final String name; 1003 } 1004 1005 public final class ColorSpaceKt { 1006 method public static androidx.compose.ui.graphics.colorspace.ColorSpace adapt(androidx.compose.ui.graphics.colorspace.ColorSpace, androidx.compose.ui.graphics.colorspace.WhitePoint whitePoint); 1007 method public static androidx.compose.ui.graphics.colorspace.ColorSpace adapt(androidx.compose.ui.graphics.colorspace.ColorSpace, androidx.compose.ui.graphics.colorspace.WhitePoint whitePoint, optional androidx.compose.ui.graphics.colorspace.Adaptation adaptation); 1008 method public static androidx.compose.ui.graphics.colorspace.Connector connect(androidx.compose.ui.graphics.colorspace.ColorSpace, optional androidx.compose.ui.graphics.colorspace.ColorSpace destination, optional int intent); 1009 } 1010 1011 public final class ColorSpaces { 1012 method public androidx.compose.ui.graphics.colorspace.Rgb getAces(); 1013 method public androidx.compose.ui.graphics.colorspace.Rgb getAcescg(); 1014 method public androidx.compose.ui.graphics.colorspace.Rgb getAdobeRgb(); 1015 method public androidx.compose.ui.graphics.colorspace.Rgb getBt2020(); 1016 method public androidx.compose.ui.graphics.colorspace.Rgb getBt709(); 1017 method public androidx.compose.ui.graphics.colorspace.ColorSpace getCieLab(); 1018 method public androidx.compose.ui.graphics.colorspace.ColorSpace getCieXyz(); 1019 method public androidx.compose.ui.graphics.colorspace.Rgb getDciP3(); 1020 method public androidx.compose.ui.graphics.colorspace.Rgb getDisplayP3(); 1021 method public androidx.compose.ui.graphics.colorspace.Rgb getExtendedSrgb(); 1022 method public androidx.compose.ui.graphics.colorspace.Rgb getLinearExtendedSrgb(); 1023 method public androidx.compose.ui.graphics.colorspace.Rgb getLinearSrgb(); 1024 method public androidx.compose.ui.graphics.colorspace.Rgb getNtsc1953(); 1025 method public androidx.compose.ui.graphics.colorspace.ColorSpace getOklab(); 1026 method public androidx.compose.ui.graphics.colorspace.Rgb getProPhotoRgb(); 1027 method public androidx.compose.ui.graphics.colorspace.Rgb getSmpteC(); 1028 method public androidx.compose.ui.graphics.colorspace.Rgb getSrgb(); 1029 method public androidx.compose.ui.graphics.colorspace.ColorSpace? match(@Size(9L) float[] toXYZD50, androidx.compose.ui.graphics.colorspace.TransferParameters function); 1030 property public final androidx.compose.ui.graphics.colorspace.Rgb Aces; 1031 property public final androidx.compose.ui.graphics.colorspace.Rgb Acescg; 1032 property public final androidx.compose.ui.graphics.colorspace.Rgb AdobeRgb; 1033 property public final androidx.compose.ui.graphics.colorspace.Rgb Bt2020; 1034 property public final androidx.compose.ui.graphics.colorspace.Rgb Bt709; 1035 property public final androidx.compose.ui.graphics.colorspace.ColorSpace CieLab; 1036 property public final androidx.compose.ui.graphics.colorspace.ColorSpace CieXyz; 1037 property public final androidx.compose.ui.graphics.colorspace.Rgb DciP3; 1038 property public final androidx.compose.ui.graphics.colorspace.Rgb DisplayP3; 1039 property public final androidx.compose.ui.graphics.colorspace.Rgb ExtendedSrgb; 1040 property public final androidx.compose.ui.graphics.colorspace.Rgb LinearExtendedSrgb; 1041 property public final androidx.compose.ui.graphics.colorspace.Rgb LinearSrgb; 1042 property public final androidx.compose.ui.graphics.colorspace.Rgb Ntsc1953; 1043 property public final androidx.compose.ui.graphics.colorspace.ColorSpace Oklab; 1044 property public final androidx.compose.ui.graphics.colorspace.Rgb ProPhotoRgb; 1045 property public final androidx.compose.ui.graphics.colorspace.Rgb SmpteC; 1046 property public final androidx.compose.ui.graphics.colorspace.Rgb Srgb; 1047 field public static final androidx.compose.ui.graphics.colorspace.ColorSpaces INSTANCE; 1048 } 1049 1050 public class Connector { 1051 method public final androidx.compose.ui.graphics.colorspace.ColorSpace getDestination(); 1052 method public final int getRenderIntent(); 1053 method public final androidx.compose.ui.graphics.colorspace.ColorSpace getSource(); 1054 method @Size(3L) public final float[] transform(float r, float g, float b); 1055 method @Size(min=3L) public float[] transform(@Size(min=3L) float[] v); 1056 property public final androidx.compose.ui.graphics.colorspace.ColorSpace destination; 1057 property public final int renderIntent; 1058 property public final androidx.compose.ui.graphics.colorspace.ColorSpace source; 1059 } 1060 1061 public final class Illuminant { 1062 method public androidx.compose.ui.graphics.colorspace.WhitePoint getA(); 1063 method public androidx.compose.ui.graphics.colorspace.WhitePoint getB(); 1064 method public androidx.compose.ui.graphics.colorspace.WhitePoint getC(); 1065 method public androidx.compose.ui.graphics.colorspace.WhitePoint getD50(); 1066 method public androidx.compose.ui.graphics.colorspace.WhitePoint getD55(); 1067 method public androidx.compose.ui.graphics.colorspace.WhitePoint getD60(); 1068 method public androidx.compose.ui.graphics.colorspace.WhitePoint getD65(); 1069 method public androidx.compose.ui.graphics.colorspace.WhitePoint getD75(); 1070 method public androidx.compose.ui.graphics.colorspace.WhitePoint getE(); 1071 property public final androidx.compose.ui.graphics.colorspace.WhitePoint A; 1072 property public final androidx.compose.ui.graphics.colorspace.WhitePoint B; 1073 property public final androidx.compose.ui.graphics.colorspace.WhitePoint C; 1074 property public final androidx.compose.ui.graphics.colorspace.WhitePoint D50; 1075 property public final androidx.compose.ui.graphics.colorspace.WhitePoint D55; 1076 property public final androidx.compose.ui.graphics.colorspace.WhitePoint D60; 1077 property public final androidx.compose.ui.graphics.colorspace.WhitePoint D65; 1078 property public final androidx.compose.ui.graphics.colorspace.WhitePoint D75; 1079 property public final androidx.compose.ui.graphics.colorspace.WhitePoint E; 1080 field public static final androidx.compose.ui.graphics.colorspace.Illuminant INSTANCE; 1081 } 1082 1083 @androidx.compose.runtime.Immutable @kotlin.jvm.JvmInline public final value class RenderIntent { 1084 field public static final androidx.compose.ui.graphics.colorspace.RenderIntent.Companion Companion; 1085 } 1086 1087 public static final class RenderIntent.Companion { 1088 method public int getAbsolute(); 1089 method public int getPerceptual(); 1090 method public int getRelative(); 1091 method public int getSaturation(); 1092 property public final int Absolute; 1093 property public final int Perceptual; 1094 property public final int Relative; 1095 property public final int Saturation; 1096 } 1097 1098 public final class Rgb extends androidx.compose.ui.graphics.colorspace.ColorSpace { 1099 ctor public Rgb(@Size(min=1L) String name, @Size(9L) float[] toXYZ, androidx.compose.ui.graphics.colorspace.TransferParameters function); 1100 ctor public Rgb(@Size(min=1L) String name, @Size(min=6L, max=9L) float[] primaries, androidx.compose.ui.graphics.colorspace.WhitePoint whitePoint, androidx.compose.ui.graphics.colorspace.TransferParameters function); 1101 ctor public Rgb(@Size(min=1L) String name, @Size(min=6L, max=9L) float[] primaries, androidx.compose.ui.graphics.colorspace.WhitePoint whitePoint, double gamma); 1102 ctor public Rgb(@Size(min=1L) String name, @Size(min=6L, max=9L) float[] primaries, androidx.compose.ui.graphics.colorspace.WhitePoint whitePoint, kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> oetf, kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> eotf, float min, float max); 1103 ctor public Rgb(@Size(min=1L) String name, @Size(9L) float[] toXYZ, double gamma); 1104 ctor public Rgb(@Size(min=1L) String name, @Size(9L) float[] toXYZ, kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> oetf, kotlin.jvm.functions.Function1<? super java.lang.Double,java.lang.Double> eotf); 1105 method @Size(3L) public float[] fromLinear(float r, float g, float b); 1106 method @Size(min=3L) public float[] fromLinear(@Size(min=3L) float[] v); 1107 method public float[] fromXyz(float[] v); 1108 method public kotlin.jvm.functions.Function1<java.lang.Double,java.lang.Double> getEotf(); 1109 method @Size(9L) public float[] getInverseTransform(); 1110 method @Size(min=9L) public float[] getInverseTransform(@Size(min=9L) float[] inverseTransform); 1111 method public float getMaxValue(int component); 1112 method public float getMinValue(int component); 1113 method public kotlin.jvm.functions.Function1<java.lang.Double,java.lang.Double> getOetf(); 1114 method @Size(6L) public float[] getPrimaries(); 1115 method @Size(min=6L) public float[] getPrimaries(@Size(min=6L) float[] primaries); 1116 method public androidx.compose.ui.graphics.colorspace.TransferParameters? getTransferParameters(); 1117 method @Size(9L) public float[] getTransform(); 1118 method @Size(min=9L) public float[] getTransform(@Size(min=9L) float[] transform); 1119 method public androidx.compose.ui.graphics.colorspace.WhitePoint getWhitePoint(); 1120 method public boolean isWideGamut(); 1121 method @Size(3L) public float[] toLinear(float r, float g, float b); 1122 method @Size(min=3L) public float[] toLinear(@Size(min=3L) float[] v); 1123 method public float[] toXyz(float[] v); 1124 property public final kotlin.jvm.functions.Function1<java.lang.Double,java.lang.Double> eotf; 1125 property public boolean isSrgb; 1126 property public boolean isWideGamut; 1127 property public final kotlin.jvm.functions.Function1<java.lang.Double,java.lang.Double> oetf; 1128 property public final androidx.compose.ui.graphics.colorspace.TransferParameters? transferParameters; 1129 property public final androidx.compose.ui.graphics.colorspace.WhitePoint whitePoint; 1130 } 1131 1132 public final class TransferParameters { 1133 ctor public TransferParameters(double gamma, double a, double b, double c, double d, optional double e, optional double f); 1134 method public double component1(); 1135 method public double component2(); 1136 method public double component3(); 1137 method public double component4(); 1138 method public double component5(); 1139 method public double component6(); 1140 method public double component7(); 1141 method public androidx.compose.ui.graphics.colorspace.TransferParameters copy(double gamma, double a, double b, double c, double d, double e, double f); 1142 method public double getA(); 1143 method public double getB(); 1144 method public double getC(); 1145 method public double getD(); 1146 method public double getE(); 1147 method public double getF(); 1148 method public double getGamma(); 1149 property public final double a; 1150 property public final double b; 1151 property public final double c; 1152 property public final double d; 1153 property public final double e; 1154 property public final double f; 1155 property public final double gamma; 1156 } 1157 1158 public final class WhitePoint { 1159 ctor public WhitePoint(float x, float y); 1160 ctor public WhitePoint(float x, float y, float z); 1161 method public float component1(); 1162 method public float component2(); 1163 method public androidx.compose.ui.graphics.colorspace.WhitePoint copy(float x, float y); 1164 method public float getX(); 1165 method public float getY(); 1166 property public final float x; 1167 property public final float y; 1168 } 1169 1170} 1171 1172package androidx.compose.ui.graphics.drawscope { 1173 1174 public final class CanvasDrawScope implements androidx.compose.ui.graphics.drawscope.DrawScope { 1175 ctor public CanvasDrawScope(); 1176 method public inline void draw(androidx.compose.ui.unit.Density density, androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.ui.graphics.Canvas canvas, long size, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1177 method public void drawArc(androidx.compose.ui.graphics.Brush brush, float startAngle, float sweepAngle, boolean useCenter, long topLeft, long size, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1178 method public void drawArc(long color, float startAngle, float sweepAngle, boolean useCenter, long topLeft, long size, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1179 method public void drawCircle(androidx.compose.ui.graphics.Brush brush, float radius, long center, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1180 method public void drawCircle(long color, float radius, long center, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1181 method public void drawImage(androidx.compose.ui.graphics.ImageBitmap image, long topLeft, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1182 method @Deprecated public void drawImage(androidx.compose.ui.graphics.ImageBitmap image, long srcOffset, long srcSize, long dstOffset, long dstSize, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1183 method public void drawLine(androidx.compose.ui.graphics.Brush brush, long start, long end, float strokeWidth, int cap, androidx.compose.ui.graphics.PathEffect? pathEffect, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1184 method public void drawLine(long color, long start, long end, float strokeWidth, int cap, androidx.compose.ui.graphics.PathEffect? pathEffect, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1185 method public void drawOval(androidx.compose.ui.graphics.Brush brush, long topLeft, long size, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1186 method public void drawOval(long color, long topLeft, long size, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1187 method public void drawPath(androidx.compose.ui.graphics.Path path, androidx.compose.ui.graphics.Brush brush, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1188 method public void drawPath(androidx.compose.ui.graphics.Path path, long color, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1189 method public void drawPoints(java.util.List<androidx.compose.ui.geometry.Offset> points, int pointMode, androidx.compose.ui.graphics.Brush brush, float strokeWidth, int cap, androidx.compose.ui.graphics.PathEffect? pathEffect, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1190 method public void drawPoints(java.util.List<androidx.compose.ui.geometry.Offset> points, int pointMode, long color, float strokeWidth, int cap, androidx.compose.ui.graphics.PathEffect? pathEffect, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1191 method public void drawRect(androidx.compose.ui.graphics.Brush brush, long topLeft, long size, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1192 method public void drawRect(long color, long topLeft, long size, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1193 method public void drawRoundRect(androidx.compose.ui.graphics.Brush brush, long topLeft, long size, long cornerRadius, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.drawscope.DrawStyle style, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1194 method public void drawRoundRect(long color, long topLeft, long size, long cornerRadius, androidx.compose.ui.graphics.drawscope.DrawStyle style, @FloatRange(from=0.0, to=1.0) float alpha, androidx.compose.ui.graphics.ColorFilter? colorFilter, int blendMode); 1195 method public float getDensity(); 1196 method public androidx.compose.ui.graphics.drawscope.DrawContext getDrawContext(); 1197 method public float getFontScale(); 1198 method public androidx.compose.ui.unit.LayoutDirection getLayoutDirection(); 1199 property public float density; 1200 property public androidx.compose.ui.graphics.drawscope.DrawContext drawContext; 1201 property public float fontScale; 1202 property public androidx.compose.ui.unit.LayoutDirection layoutDirection; 1203 field @kotlin.PublishedApi internal final androidx.compose.ui.graphics.drawscope.CanvasDrawScope.DrawParams drawParams; 1204 } 1205 1206 @kotlin.PublishedApi internal static final class CanvasDrawScope.DrawParams { 1207 ctor public CanvasDrawScope.DrawParams(optional androidx.compose.ui.unit.Density density, optional androidx.compose.ui.unit.LayoutDirection layoutDirection, optional androidx.compose.ui.graphics.Canvas canvas, optional long size); 1208 method public androidx.compose.ui.unit.Density component1(); 1209 method public androidx.compose.ui.unit.LayoutDirection component2(); 1210 method public androidx.compose.ui.graphics.Canvas component3(); 1211 method public long component4-NH-jbRc(); 1212 method internal boolean equals(Object? other); 1213 method public androidx.compose.ui.graphics.Canvas getCanvas(); 1214 method public androidx.compose.ui.unit.Density getDensity(); 1215 method public androidx.compose.ui.unit.LayoutDirection getLayoutDirection(); 1216 method public long getSize(); 1217 method internal int hashCode(); 1218 method public void setCanvas(androidx.compose.ui.graphics.Canvas); 1219 method public void setDensity(androidx.compose.ui.unit.Density); 1220 method public void setLayoutDirection(androidx.compose.ui.unit.LayoutDirection); 1221 method public void setSize(long); 1222 method internal String toString(); 1223 property public final androidx.compose.ui.graphics.Canvas canvas; 1224 property public final androidx.compose.ui.unit.Density density; 1225 property public final androidx.compose.ui.unit.LayoutDirection layoutDirection; 1226 property public final long size; 1227 } 1228 1229 @kotlin.jvm.JvmDefaultWithCompatibility public interface ContentDrawScope extends androidx.compose.ui.graphics.drawscope.DrawScope { 1230 method public void drawContent(); 1231 } 1232 1233 public interface DrawContext { 1234 method public default androidx.compose.ui.graphics.Canvas getCanvas(); 1235 method public default androidx.compose.ui.unit.Density getDensity(); 1236 method public default androidx.compose.ui.unit.LayoutDirection getLayoutDirection(); 1237 method public long getSize(); 1238 method public androidx.compose.ui.graphics.drawscope.DrawTransform getTransform(); 1239 method public default void setCanvas(androidx.compose.ui.graphics.Canvas); 1240 method public default void setDensity(androidx.compose.ui.unit.Density); 1241 method public default void setLayoutDirection(androidx.compose.ui.unit.LayoutDirection); 1242 method public void setSize(long); 1243 property public default androidx.compose.ui.graphics.Canvas canvas; 1244 property public default androidx.compose.ui.unit.Density density; 1245 property public default androidx.compose.ui.unit.LayoutDirection layoutDirection; 1246 property public abstract long size; 1247 property public abstract androidx.compose.ui.graphics.drawscope.DrawTransform transform; 1248 } 1249 1250 @androidx.compose.ui.graphics.drawscope.DrawScopeMarker @kotlin.jvm.JvmDefaultWithCompatibility public interface DrawScope extends androidx.compose.ui.unit.Density { 1251 method public void drawArc(androidx.compose.ui.graphics.Brush brush, float startAngle, float sweepAngle, boolean useCenter, optional long topLeft, optional long size, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1252 method public void drawArc(long color, float startAngle, float sweepAngle, boolean useCenter, optional long topLeft, optional long size, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1253 method public void drawCircle(androidx.compose.ui.graphics.Brush brush, optional float radius, optional long center, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1254 method public void drawCircle(long color, optional float radius, optional long center, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1255 method public void drawImage(androidx.compose.ui.graphics.ImageBitmap image, optional long topLeft, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1256 method @Deprecated public void drawImage(androidx.compose.ui.graphics.ImageBitmap image, optional long srcOffset, optional long srcSize, optional long dstOffset, optional long dstSize, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1257 method public default void drawImage(androidx.compose.ui.graphics.ImageBitmap image, optional long srcOffset, optional long srcSize, optional long dstOffset, optional long dstSize, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode, optional int filterQuality); 1258 method public void drawLine(androidx.compose.ui.graphics.Brush brush, long start, long end, optional float strokeWidth, optional int cap, optional androidx.compose.ui.graphics.PathEffect? pathEffect, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1259 method public void drawLine(long color, long start, long end, optional float strokeWidth, optional int cap, optional androidx.compose.ui.graphics.PathEffect? pathEffect, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1260 method public void drawOval(androidx.compose.ui.graphics.Brush brush, optional long topLeft, optional long size, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1261 method public void drawOval(long color, optional long topLeft, optional long size, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1262 method public void drawPath(androidx.compose.ui.graphics.Path path, androidx.compose.ui.graphics.Brush brush, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1263 method public void drawPath(androidx.compose.ui.graphics.Path path, long color, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1264 method public void drawPoints(java.util.List<androidx.compose.ui.geometry.Offset> points, int pointMode, androidx.compose.ui.graphics.Brush brush, optional float strokeWidth, optional int cap, optional androidx.compose.ui.graphics.PathEffect? pathEffect, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1265 method public void drawPoints(java.util.List<androidx.compose.ui.geometry.Offset> points, int pointMode, long color, optional float strokeWidth, optional int cap, optional androidx.compose.ui.graphics.PathEffect? pathEffect, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1266 method public void drawRect(androidx.compose.ui.graphics.Brush brush, optional long topLeft, optional long size, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1267 method public void drawRect(long color, optional long topLeft, optional long size, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1268 method public void drawRoundRect(androidx.compose.ui.graphics.Brush brush, optional long topLeft, optional long size, optional long cornerRadius, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1269 method public void drawRoundRect(long color, optional long topLeft, optional long size, optional long cornerRadius, optional androidx.compose.ui.graphics.drawscope.DrawStyle style, optional @FloatRange(from=0.0, to=1.0) float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter, optional int blendMode); 1270 method public default long getCenter(); 1271 method public androidx.compose.ui.graphics.drawscope.DrawContext getDrawContext(); 1272 method public androidx.compose.ui.unit.LayoutDirection getLayoutDirection(); 1273 method public default long getSize(); 1274 property public default long center; 1275 property public abstract androidx.compose.ui.graphics.drawscope.DrawContext drawContext; 1276 property public abstract androidx.compose.ui.unit.LayoutDirection layoutDirection; 1277 property public default long size; 1278 field public static final androidx.compose.ui.graphics.drawscope.DrawScope.Companion Companion; 1279 } 1280 1281 public static final class DrawScope.Companion { 1282 method public int getDefaultBlendMode(); 1283 method public int getDefaultFilterQuality(); 1284 property public final int DefaultBlendMode; 1285 property public final int DefaultFilterQuality; 1286 } 1287 1288 public final class DrawScopeKt { 1289 method public static inline void clipPath(androidx.compose.ui.graphics.drawscope.DrawScope, androidx.compose.ui.graphics.Path path, optional int clipOp, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1290 method public static inline void clipRect(androidx.compose.ui.graphics.drawscope.DrawScope, optional float left, optional float top, optional float right, optional float bottom, optional int clipOp, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1291 method public static inline void draw(androidx.compose.ui.graphics.drawscope.DrawScope, androidx.compose.ui.unit.Density density, androidx.compose.ui.unit.LayoutDirection layoutDirection, androidx.compose.ui.graphics.Canvas canvas, long size, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1292 method public static inline void drawIntoCanvas(androidx.compose.ui.graphics.drawscope.DrawScope, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.Canvas,kotlin.Unit> block); 1293 method public static inline void inset(androidx.compose.ui.graphics.drawscope.DrawScope, float left, float top, float right, float bottom, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1294 method public static inline void inset(androidx.compose.ui.graphics.drawscope.DrawScope, optional float horizontal, optional float vertical, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1295 method public static inline void inset(androidx.compose.ui.graphics.drawscope.DrawScope, float inset, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1296 method public static inline void rotate(androidx.compose.ui.graphics.drawscope.DrawScope, float degrees, optional long pivot, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1297 method public static inline void rotateRad(androidx.compose.ui.graphics.drawscope.DrawScope, float radians, optional long pivot, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1298 method public static inline void scale(androidx.compose.ui.graphics.drawscope.DrawScope, float scaleX, float scaleY, optional long pivot, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1299 method public static inline void scale(androidx.compose.ui.graphics.drawscope.DrawScope, float scale, optional long pivot, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1300 method public static inline void translate(androidx.compose.ui.graphics.drawscope.DrawScope, optional float left, optional float top, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> block); 1301 method public static inline void withTransform(androidx.compose.ui.graphics.drawscope.DrawScope, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawTransform,kotlin.Unit> transformBlock, kotlin.jvm.functions.Function1<? super androidx.compose.ui.graphics.drawscope.DrawScope,kotlin.Unit> drawBlock); 1302 } 1303 1304 @kotlin.DslMarker public @interface DrawScopeMarker { 1305 } 1306 1307 public abstract sealed class DrawStyle { 1308 } 1309 1310 @androidx.compose.ui.graphics.drawscope.DrawScopeMarker @kotlin.jvm.JvmDefaultWithCompatibility public interface DrawTransform { 1311 method public void clipPath(androidx.compose.ui.graphics.Path path, optional int clipOp); 1312 method public void clipRect(optional float left, optional float top, optional float right, optional float bottom, optional int clipOp); 1313 method public default long getCenter(); 1314 method public long getSize(); 1315 method public void inset(float left, float top, float right, float bottom); 1316 method public void rotate(float degrees, optional long pivot); 1317 method public void scale(float scaleX, float scaleY, optional long pivot); 1318 method public void transform(float[] matrix); 1319 method public void translate(optional float left, optional float top); 1320 property public default long center; 1321 property public abstract long size; 1322 } 1323 1324 public final class DrawTransformKt { 1325 method public static inline void inset(androidx.compose.ui.graphics.drawscope.DrawTransform, float inset); 1326 method public static inline void inset(androidx.compose.ui.graphics.drawscope.DrawTransform, optional float horizontal, optional float vertical); 1327 method public static inline void rotateRad(androidx.compose.ui.graphics.drawscope.DrawTransform, float radians, optional long pivot); 1328 method public static inline void scale(androidx.compose.ui.graphics.drawscope.DrawTransform, float scale, optional long pivot); 1329 } 1330 1331 public final class Fill extends androidx.compose.ui.graphics.drawscope.DrawStyle { 1332 field public static final androidx.compose.ui.graphics.drawscope.Fill INSTANCE; 1333 } 1334 1335 public final class Stroke extends androidx.compose.ui.graphics.drawscope.DrawStyle { 1336 ctor public Stroke(optional float width, optional float miter, optional int cap, optional int join, optional androidx.compose.ui.graphics.PathEffect? pathEffect); 1337 method public int getCap(); 1338 method public int getJoin(); 1339 method public float getMiter(); 1340 method public androidx.compose.ui.graphics.PathEffect? getPathEffect(); 1341 method public float getWidth(); 1342 property public final int cap; 1343 property public final int join; 1344 property public final float miter; 1345 property public final androidx.compose.ui.graphics.PathEffect? pathEffect; 1346 property public final float width; 1347 field public static final androidx.compose.ui.graphics.drawscope.Stroke.Companion Companion; 1348 field public static final float DefaultMiter = 4.0f; 1349 field public static final float HairlineWidth = 0.0f; 1350 } 1351 1352 public static final class Stroke.Companion { 1353 method public int getDefaultCap(); 1354 method public int getDefaultJoin(); 1355 property public final int DefaultCap; 1356 property public final int DefaultJoin; 1357 } 1358 1359} 1360 1361package androidx.compose.ui.graphics.painter { 1362 1363 public final class BitmapPainter extends androidx.compose.ui.graphics.painter.Painter { 1364 ctor public BitmapPainter(androidx.compose.ui.graphics.ImageBitmap image, optional long srcOffset, optional long srcSize); 1365 method public long getIntrinsicSize(); 1366 method protected void onDraw(androidx.compose.ui.graphics.drawscope.DrawScope); 1367 property public long intrinsicSize; 1368 } 1369 1370 public final class BitmapPainterKt { 1371 method public static androidx.compose.ui.graphics.painter.BitmapPainter BitmapPainter(androidx.compose.ui.graphics.ImageBitmap image, optional long srcOffset, optional long srcSize, optional int filterQuality); 1372 } 1373 1374 public final class BrushPainter extends androidx.compose.ui.graphics.painter.Painter { 1375 ctor public BrushPainter(androidx.compose.ui.graphics.Brush brush); 1376 method public androidx.compose.ui.graphics.Brush getBrush(); 1377 method public long getIntrinsicSize(); 1378 method protected void onDraw(androidx.compose.ui.graphics.drawscope.DrawScope); 1379 property public final androidx.compose.ui.graphics.Brush brush; 1380 property public long intrinsicSize; 1381 } 1382 1383 public final class ColorPainter extends androidx.compose.ui.graphics.painter.Painter { 1384 ctor public ColorPainter(long color); 1385 method public long getColor(); 1386 method public long getIntrinsicSize(); 1387 method protected void onDraw(androidx.compose.ui.graphics.drawscope.DrawScope); 1388 property public final long color; 1389 property public long intrinsicSize; 1390 } 1391 1392 public abstract class Painter { 1393 ctor public Painter(); 1394 method protected boolean applyAlpha(float alpha); 1395 method protected boolean applyColorFilter(androidx.compose.ui.graphics.ColorFilter? colorFilter); 1396 method protected boolean applyLayoutDirection(androidx.compose.ui.unit.LayoutDirection layoutDirection); 1397 method public final void draw(androidx.compose.ui.graphics.drawscope.DrawScope, long size, optional float alpha, optional androidx.compose.ui.graphics.ColorFilter? colorFilter); 1398 method public abstract long getIntrinsicSize(); 1399 method protected abstract void onDraw(androidx.compose.ui.graphics.drawscope.DrawScope); 1400 property public abstract long intrinsicSize; 1401 } 1402 1403} 1404 1405package androidx.compose.ui.graphics.vector { 1406 1407 public final class PathBuilder { 1408 ctor public PathBuilder(); 1409 method public androidx.compose.ui.graphics.vector.PathBuilder arcTo(float horizontalEllipseRadius, float verticalEllipseRadius, float theta, boolean isMoreThanHalf, boolean isPositiveArc, float x1, float y1); 1410 method public androidx.compose.ui.graphics.vector.PathBuilder arcToRelative(float a, float b, float theta, boolean isMoreThanHalf, boolean isPositiveArc, float dx1, float dy1); 1411 method public androidx.compose.ui.graphics.vector.PathBuilder close(); 1412 method public androidx.compose.ui.graphics.vector.PathBuilder curveTo(float x1, float y1, float x2, float y2, float x3, float y3); 1413 method public androidx.compose.ui.graphics.vector.PathBuilder curveToRelative(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3); 1414 method public java.util.List<androidx.compose.ui.graphics.vector.PathNode> getNodes(); 1415 method public androidx.compose.ui.graphics.vector.PathBuilder horizontalLineTo(float x); 1416 method public androidx.compose.ui.graphics.vector.PathBuilder horizontalLineToRelative(float dx); 1417 method public androidx.compose.ui.graphics.vector.PathBuilder lineTo(float x, float y); 1418 method public androidx.compose.ui.graphics.vector.PathBuilder lineToRelative(float dx, float dy); 1419 method public androidx.compose.ui.graphics.vector.PathBuilder moveTo(float x, float y); 1420 method public androidx.compose.ui.graphics.vector.PathBuilder moveToRelative(float dx, float dy); 1421 method public androidx.compose.ui.graphics.vector.PathBuilder quadTo(float x1, float y1, float x2, float y2); 1422 method public androidx.compose.ui.graphics.vector.PathBuilder quadToRelative(float dx1, float dy1, float dx2, float dy2); 1423 method public androidx.compose.ui.graphics.vector.PathBuilder reflectiveCurveTo(float x1, float y1, float x2, float y2); 1424 method public androidx.compose.ui.graphics.vector.PathBuilder reflectiveCurveToRelative(float dx1, float dy1, float dx2, float dy2); 1425 method public androidx.compose.ui.graphics.vector.PathBuilder reflectiveQuadTo(float x1, float y1); 1426 method public androidx.compose.ui.graphics.vector.PathBuilder reflectiveQuadToRelative(float dx1, float dy1); 1427 method public androidx.compose.ui.graphics.vector.PathBuilder verticalLineTo(float y); 1428 method public androidx.compose.ui.graphics.vector.PathBuilder verticalLineToRelative(float dy); 1429 property public final java.util.List<androidx.compose.ui.graphics.vector.PathNode> nodes; 1430 } 1431 1432 @androidx.compose.runtime.Immutable public abstract sealed class PathNode { 1433 method public final boolean isCurve(); 1434 method public final boolean isQuad(); 1435 property public final boolean isCurve; 1436 property public final boolean isQuad; 1437 } 1438 1439 @androidx.compose.runtime.Immutable public static final class PathNode.ArcTo extends androidx.compose.ui.graphics.vector.PathNode { 1440 ctor public PathNode.ArcTo(float horizontalEllipseRadius, float verticalEllipseRadius, float theta, boolean isMoreThanHalf, boolean isPositiveArc, float arcStartX, float arcStartY); 1441 method public float component1(); 1442 method public float component2(); 1443 method public float component3(); 1444 method public boolean component4(); 1445 method public boolean component5(); 1446 method public float component6(); 1447 method public float component7(); 1448 method public androidx.compose.ui.graphics.vector.PathNode.ArcTo copy(float horizontalEllipseRadius, float verticalEllipseRadius, float theta, boolean isMoreThanHalf, boolean isPositiveArc, float arcStartX, float arcStartY); 1449 method public float getArcStartX(); 1450 method public float getArcStartY(); 1451 method public float getHorizontalEllipseRadius(); 1452 method public float getTheta(); 1453 method public float getVerticalEllipseRadius(); 1454 method public boolean isMoreThanHalf(); 1455 method public boolean isPositiveArc(); 1456 property public final float arcStartX; 1457 property public final float arcStartY; 1458 property public final float horizontalEllipseRadius; 1459 property public final boolean isMoreThanHalf; 1460 property public final boolean isPositiveArc; 1461 property public final float theta; 1462 property public final float verticalEllipseRadius; 1463 } 1464 1465 @androidx.compose.runtime.Immutable public static final class PathNode.Close extends androidx.compose.ui.graphics.vector.PathNode { 1466 field public static final androidx.compose.ui.graphics.vector.PathNode.Close INSTANCE; 1467 } 1468 1469 @androidx.compose.runtime.Immutable public static final class PathNode.CurveTo extends androidx.compose.ui.graphics.vector.PathNode { 1470 ctor public PathNode.CurveTo(float x1, float y1, float x2, float y2, float x3, float y3); 1471 method public float component1(); 1472 method public float component2(); 1473 method public float component3(); 1474 method public float component4(); 1475 method public float component5(); 1476 method public float component6(); 1477 method public androidx.compose.ui.graphics.vector.PathNode.CurveTo copy(float x1, float y1, float x2, float y2, float x3, float y3); 1478 method public float getX1(); 1479 method public float getX2(); 1480 method public float getX3(); 1481 method public float getY1(); 1482 method public float getY2(); 1483 method public float getY3(); 1484 property public final float x1; 1485 property public final float x2; 1486 property public final float x3; 1487 property public final float y1; 1488 property public final float y2; 1489 property public final float y3; 1490 } 1491 1492 @androidx.compose.runtime.Immutable public static final class PathNode.HorizontalTo extends androidx.compose.ui.graphics.vector.PathNode { 1493 ctor public PathNode.HorizontalTo(float x); 1494 method public float component1(); 1495 method public androidx.compose.ui.graphics.vector.PathNode.HorizontalTo copy(float x); 1496 method public float getX(); 1497 property public final float x; 1498 } 1499 1500 @androidx.compose.runtime.Immutable public static final class PathNode.LineTo extends androidx.compose.ui.graphics.vector.PathNode { 1501 ctor public PathNode.LineTo(float x, float y); 1502 method public float component1(); 1503 method public float component2(); 1504 method public androidx.compose.ui.graphics.vector.PathNode.LineTo copy(float x, float y); 1505 method public float getX(); 1506 method public float getY(); 1507 property public final float x; 1508 property public final float y; 1509 } 1510 1511 @androidx.compose.runtime.Immutable public static final class PathNode.MoveTo extends androidx.compose.ui.graphics.vector.PathNode { 1512 ctor public PathNode.MoveTo(float x, float y); 1513 method public float component1(); 1514 method public float component2(); 1515 method public androidx.compose.ui.graphics.vector.PathNode.MoveTo copy(float x, float y); 1516 method public float getX(); 1517 method public float getY(); 1518 property public final float x; 1519 property public final float y; 1520 } 1521 1522 @androidx.compose.runtime.Immutable public static final class PathNode.QuadTo extends androidx.compose.ui.graphics.vector.PathNode { 1523 ctor public PathNode.QuadTo(float x1, float y1, float x2, float y2); 1524 method public float component1(); 1525 method public float component2(); 1526 method public float component3(); 1527 method public float component4(); 1528 method public androidx.compose.ui.graphics.vector.PathNode.QuadTo copy(float x1, float y1, float x2, float y2); 1529 method public float getX1(); 1530 method public float getX2(); 1531 method public float getY1(); 1532 method public float getY2(); 1533 property public final float x1; 1534 property public final float x2; 1535 property public final float y1; 1536 property public final float y2; 1537 } 1538 1539 @androidx.compose.runtime.Immutable public static final class PathNode.ReflectiveCurveTo extends androidx.compose.ui.graphics.vector.PathNode { 1540 ctor public PathNode.ReflectiveCurveTo(float x1, float y1, float x2, float y2); 1541 method public float component1(); 1542 method public float component2(); 1543 method public float component3(); 1544 method public float component4(); 1545 method public androidx.compose.ui.graphics.vector.PathNode.ReflectiveCurveTo copy(float x1, float y1, float x2, float y2); 1546 method public float getX1(); 1547 method public float getX2(); 1548 method public float getY1(); 1549 method public float getY2(); 1550 property public final float x1; 1551 property public final float x2; 1552 property public final float y1; 1553 property public final float y2; 1554 } 1555 1556 @androidx.compose.runtime.Immutable public static final class PathNode.ReflectiveQuadTo extends androidx.compose.ui.graphics.vector.PathNode { 1557 ctor public PathNode.ReflectiveQuadTo(float x, float y); 1558 method public float component1(); 1559 method public float component2(); 1560 method public androidx.compose.ui.graphics.vector.PathNode.ReflectiveQuadTo copy(float x, float y); 1561 method public float getX(); 1562 method public float getY(); 1563 property public final float x; 1564 property public final float y; 1565 } 1566 1567 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeArcTo extends androidx.compose.ui.graphics.vector.PathNode { 1568 ctor public PathNode.RelativeArcTo(float horizontalEllipseRadius, float verticalEllipseRadius, float theta, boolean isMoreThanHalf, boolean isPositiveArc, float arcStartDx, float arcStartDy); 1569 method public float component1(); 1570 method public float component2(); 1571 method public float component3(); 1572 method public boolean component4(); 1573 method public boolean component5(); 1574 method public float component6(); 1575 method public float component7(); 1576 method public androidx.compose.ui.graphics.vector.PathNode.RelativeArcTo copy(float horizontalEllipseRadius, float verticalEllipseRadius, float theta, boolean isMoreThanHalf, boolean isPositiveArc, float arcStartDx, float arcStartDy); 1577 method public float getArcStartDx(); 1578 method public float getArcStartDy(); 1579 method public float getHorizontalEllipseRadius(); 1580 method public float getTheta(); 1581 method public float getVerticalEllipseRadius(); 1582 method public boolean isMoreThanHalf(); 1583 method public boolean isPositiveArc(); 1584 property public final float arcStartDx; 1585 property public final float arcStartDy; 1586 property public final float horizontalEllipseRadius; 1587 property public final boolean isMoreThanHalf; 1588 property public final boolean isPositiveArc; 1589 property public final float theta; 1590 property public final float verticalEllipseRadius; 1591 } 1592 1593 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeCurveTo extends androidx.compose.ui.graphics.vector.PathNode { 1594 ctor public PathNode.RelativeCurveTo(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3); 1595 method public float component1(); 1596 method public float component2(); 1597 method public float component3(); 1598 method public float component4(); 1599 method public float component5(); 1600 method public float component6(); 1601 method public androidx.compose.ui.graphics.vector.PathNode.RelativeCurveTo copy(float dx1, float dy1, float dx2, float dy2, float dx3, float dy3); 1602 method public float getDx1(); 1603 method public float getDx2(); 1604 method public float getDx3(); 1605 method public float getDy1(); 1606 method public float getDy2(); 1607 method public float getDy3(); 1608 property public final float dx1; 1609 property public final float dx2; 1610 property public final float dx3; 1611 property public final float dy1; 1612 property public final float dy2; 1613 property public final float dy3; 1614 } 1615 1616 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeHorizontalTo extends androidx.compose.ui.graphics.vector.PathNode { 1617 ctor public PathNode.RelativeHorizontalTo(float dx); 1618 method public float component1(); 1619 method public androidx.compose.ui.graphics.vector.PathNode.RelativeHorizontalTo copy(float dx); 1620 method public float getDx(); 1621 property public final float dx; 1622 } 1623 1624 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeLineTo extends androidx.compose.ui.graphics.vector.PathNode { 1625 ctor public PathNode.RelativeLineTo(float dx, float dy); 1626 method public float component1(); 1627 method public float component2(); 1628 method public androidx.compose.ui.graphics.vector.PathNode.RelativeLineTo copy(float dx, float dy); 1629 method public float getDx(); 1630 method public float getDy(); 1631 property public final float dx; 1632 property public final float dy; 1633 } 1634 1635 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeMoveTo extends androidx.compose.ui.graphics.vector.PathNode { 1636 ctor public PathNode.RelativeMoveTo(float dx, float dy); 1637 method public float component1(); 1638 method public float component2(); 1639 method public androidx.compose.ui.graphics.vector.PathNode.RelativeMoveTo copy(float dx, float dy); 1640 method public float getDx(); 1641 method public float getDy(); 1642 property public final float dx; 1643 property public final float dy; 1644 } 1645 1646 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeQuadTo extends androidx.compose.ui.graphics.vector.PathNode { 1647 ctor public PathNode.RelativeQuadTo(float dx1, float dy1, float dx2, float dy2); 1648 method public float component1(); 1649 method public float component2(); 1650 method public float component3(); 1651 method public float component4(); 1652 method public androidx.compose.ui.graphics.vector.PathNode.RelativeQuadTo copy(float dx1, float dy1, float dx2, float dy2); 1653 method public float getDx1(); 1654 method public float getDx2(); 1655 method public float getDy1(); 1656 method public float getDy2(); 1657 property public final float dx1; 1658 property public final float dx2; 1659 property public final float dy1; 1660 property public final float dy2; 1661 } 1662 1663 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeReflectiveCurveTo extends androidx.compose.ui.graphics.vector.PathNode { 1664 ctor public PathNode.RelativeReflectiveCurveTo(float dx1, float dy1, float dx2, float dy2); 1665 method public float component1(); 1666 method public float component2(); 1667 method public float component3(); 1668 method public float component4(); 1669 method public androidx.compose.ui.graphics.vector.PathNode.RelativeReflectiveCurveTo copy(float dx1, float dy1, float dx2, float dy2); 1670 method public float getDx1(); 1671 method public float getDx2(); 1672 method public float getDy1(); 1673 method public float getDy2(); 1674 property public final float dx1; 1675 property public final float dx2; 1676 property public final float dy1; 1677 property public final float dy2; 1678 } 1679 1680 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeReflectiveQuadTo extends androidx.compose.ui.graphics.vector.PathNode { 1681 ctor public PathNode.RelativeReflectiveQuadTo(float dx, float dy); 1682 method public float component1(); 1683 method public float component2(); 1684 method public androidx.compose.ui.graphics.vector.PathNode.RelativeReflectiveQuadTo copy(float dx, float dy); 1685 method public float getDx(); 1686 method public float getDy(); 1687 property public final float dx; 1688 property public final float dy; 1689 } 1690 1691 @androidx.compose.runtime.Immutable public static final class PathNode.RelativeVerticalTo extends androidx.compose.ui.graphics.vector.PathNode { 1692 ctor public PathNode.RelativeVerticalTo(float dy); 1693 method public float component1(); 1694 method public androidx.compose.ui.graphics.vector.PathNode.RelativeVerticalTo copy(float dy); 1695 method public float getDy(); 1696 property public final float dy; 1697 } 1698 1699 @androidx.compose.runtime.Immutable public static final class PathNode.VerticalTo extends androidx.compose.ui.graphics.vector.PathNode { 1700 ctor public PathNode.VerticalTo(float y); 1701 method public float component1(); 1702 method public androidx.compose.ui.graphics.vector.PathNode.VerticalTo copy(float y); 1703 method public float getY(); 1704 property public final float y; 1705 } 1706 1707 public final class PathParser { 1708 ctor public PathParser(); 1709 method public androidx.compose.ui.graphics.vector.PathParser addPathNodes(java.util.List<? extends androidx.compose.ui.graphics.vector.PathNode> nodes); 1710 method public void clear(); 1711 method public androidx.compose.ui.graphics.vector.PathParser parsePathString(String pathData); 1712 method public java.util.List<androidx.compose.ui.graphics.vector.PathNode> toNodes(); 1713 method public androidx.compose.ui.graphics.Path toPath(optional androidx.compose.ui.graphics.Path target); 1714 } 1715 1716 public final class PathParserKt { 1717 method public static androidx.compose.ui.graphics.Path toPath(java.util.List<? extends androidx.compose.ui.graphics.vector.PathNode>, optional androidx.compose.ui.graphics.Path target); 1718 } 1719 1720} 1721 1722