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