toggle menu
kotlin-jupyter-kernel
0.12.0-335
jvm
switch theme
search in API
lib-ext
/
org.jetbrains.kotlinx.jupyter.ext
/
Image
Image
class
Image
(
attributes
:
List
<
HTMLAttr
>
)
:
Renderable
Members
Constructors
Image
Link copied to clipboard
constructor
(
url
:
String
,
embed
:
Boolean
=
false
)
constructor
(
file
:
File
,
embed
:
Boolean
=
false
)
constructor
(
data
:
ByteArray
,
format
:
String
)
constructor
(
data
:
BufferedImage
,
outputFormat
:
String
=
"png"
)
constructor
(
attributes
:
List
<
HTMLAttr
>
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
render
Link copied to clipboard
open
override
fun
render
(
notebook
:
Notebook
)
:
MimeTypedResult
to
HTML
Link copied to clipboard
fun
toHTML
(
)
:
String
with
Attr
Link copied to clipboard
fun
withAttr
(
attr
:
HTMLAttr
)
:
Image
fun
withAttr
(
name
:
String
,
value
:
String
)
:
Image
with
Height
Link copied to clipboard
fun
withHeight
(
value
:
Int
)
:
Image
fun
withHeight
(
value
:
String
)
:
Image
with
Width
Link copied to clipboard
fun
withWidth
(
value
:
Int
)
:
Image
fun
withWidth
(
value
:
String
)
:
Image