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