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