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