Image

class Image(attributes: List<HTMLAttr>) : Renderable

Constructors

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

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun render(notebook: Notebook): MimeTypedResult
Link copied to clipboard
fun toHTML(): String
Link copied to clipboard
fun withAttr(attr: HTMLAttr): Image
fun withAttr(name: String, value: String): Image
Link copied to clipboard
fun withHeight(value: Int): Image
fun withHeight(value: String): Image
Link copied to clipboard
fun withWidth(value: Int): Image
fun withWidth(value: String): Image