Html

smile.plot.swing.Html
object Html

HTML <img> tag of Canvas and JComponent.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Html.type

Members list

Value members

Concrete methods

def canvas(canvas: Canvas, width: Int, height: Int): String

Returns the HTML img tag of the canvas encoded by BASE64.

Returns the HTML img tag of the canvas encoded by BASE64.

Attributes

def of(canvas: JComponent, width: Int, height: Int): String

Returns the HTML img tag of the swing component encoded by BASE64.

Returns the HTML img tag of the swing component encoded by BASE64.

Attributes