toggle menu
coil-root
3.1.0-SNAPSHOT
android
common
nonAndroid
switch theme
search in API
coil-test
/
coil3.test
/
FakeImage
Fake
Image
android
common
nonAndroid
@
Poko
actual
class
FakeImage
(
val
width
:
Int
,
val
height
:
Int
,
val
size
:
Long
,
val
shareable
:
Boolean
,
val
color
:
Int
)
:
Image
expect
class
FakeImage
(
width
:
Int
=
100
,
height
:
Int
=
100
,
size
:
Long
=
4L * width * height
,
shareable
:
Boolean
=
true
,
color
:
Int
=
Black
)
:
Image
A simple
Image
that draws a 100x100 black square by default.
@
Poko
actual
class
FakeImage
(
val
width
:
Int
,
val
height
:
Int
,
val
size
:
Long
,
val
shareable
:
Boolean
,
val
color
:
Int
)
:
Image
Members
Constructors
Fake
Image
Link copied to clipboard
android
common
nonAndroid
actual
constructor
(
width
:
Int
,
height
:
Int
,
size
:
Long
,
shareable
:
Boolean
,
color
:
Int
)
expect
constructor
(
width
:
Int
=
100
,
height
:
Int
=
100
,
size
:
Long
=
4L * width * height
,
shareable
:
Boolean
=
true
,
color
:
Int
=
Black
)
actual
constructor
(
width
:
Int
,
height
:
Int
,
size
:
Long
,
shareable
:
Boolean
,
color
:
Int
)
Properties
color
Link copied to clipboard
android
common
nonAndroid
actual
val
color
:
Int
expect
val
color
:
Int
actual
val
color
:
Int
height
Link copied to clipboard
android
common
nonAndroid
actual
open
override
val
height
:
Int
expect
open
override
val
height
:
Int
actual
open
override
val
height
:
Int
shareable
Link copied to clipboard
android
common
nonAndroid
actual
open
override
val
shareable
:
Boolean
expect
open
override
val
shareable
:
Boolean
actual
open
override
val
shareable
:
Boolean
size
Link copied to clipboard
android
common
nonAndroid
actual
open
override
val
size
:
Long
expect
open
override
val
size
:
Long
actual
open
override
val
size
:
Long
width
Link copied to clipboard
android
common
nonAndroid
actual
open
override
val
width
:
Int
expect
open
override
val
width
:
Int
actual
open
override
val
width
:
Int
Functions
draw
Link copied to clipboard
expect
open
override
fun
draw
(
canvas
:
Canvas
)