Canvas

doodle.java2d.effect.Canvas
See theCanvas companion object
final class Canvas extends JFrame

A Canvas is an area on the screen to which Pictures can be drawn.

Attributes

Companion
object
Source
Canvas.scala
Graph
Supertypes
class JFrame
class Frame
class Window
trait Accessible
class Container
class Component
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def render[A](picture: Picture[A]): IO[A]

Draw the given Picture to this Canvas.

Draw the given Picture to this Canvas.

Attributes

Source
Canvas.scala

Inherited methods

def add(x$0: Component, x$1: <FromJavaObject>, x$2: Int): Unit

Attributes

Inherited from:
Container
def add(x$0: Component, x$1: <FromJavaObject>): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def addNotify(): Unit

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def dispose(): Unit

Attributes

Inherited from:
Window
def doLayout(): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
JFrame
def getCursor(): Cursor

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Window
def getFont(): Font

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Component
def getHeight(): Int

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def getInsets(): Insets

Attributes

Inherited from:
Container

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Container

Attributes

Inherited from:
Window
def getLocale(): Locale

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Container

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Container

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def getName(): String

Attributes

Inherited from:
Component
def getOpacity(): Float

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window
def getOwner(): Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
JFrame
def getShape(): Shape

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def getState(): Int

Attributes

Inherited from:
Frame
def getTitle(): String

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
JFrame
final def getTreeLock(): <FromJavaObject>

Attributes

Inherited from:
Component
def getType(): Type

Attributes

Inherited from:
Window
final def getWarningString(): String

Attributes

Inherited from:
Window
def getWidth(): Int

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window
def getX(): Int

Attributes

Inherited from:
Component
def getY(): Int

Attributes

Inherited from:
Component
def hasFocus(): Boolean

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def invalidate(): Unit

Attributes

Inherited from:
Container
def isActive(): Boolean

Attributes

Inherited from:
Window
final def isAlwaysOnTop(): Boolean

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Container

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
final def isFocusCycleRoot(): Boolean

Attributes

Inherited from:
Window

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component
final def isFocusableWindow(): Boolean

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def isOpaque(): Boolean

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Frame
def isValid(): Boolean

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def list(): Unit

Attributes

Inherited from:
Component
def pack(): Unit

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Frame
def remove(x$0: Int): Unit

Attributes

Inherited from:
Container
def removeAll(): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window
def repaint(x$0: Long, x$1: Int, x$2: Int, x$3: Int, x$4: Int): Unit

Attributes

Inherited from:
JFrame
def repaint(x$0: Int, x$1: Int, x$2: Int, x$3: Int): Unit

Attributes

Inherited from:
Component
def repaint(x$0: Long): Unit

Attributes

Inherited from:
Component
def repaint(): Unit

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component
def revalidate(): Unit

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Window

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window
def setFont(x$0: Font): Unit

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
JFrame

Attributes

Inherited from:
Component

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Component

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Frame
def setSize(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Window

Attributes

Inherited from:
Window
def setState(x$0: Int): Unit

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Frame

Attributes

Inherited from:
JFrame
def setType(x$0: Type): Unit

Attributes

Inherited from:
Window

Attributes

Inherited from:
Frame

Attributes

Inherited from:
Window
def toBack(): Unit

Attributes

Inherited from:
Window
def toFront(): Unit

Attributes

Inherited from:
Window
def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Component

Attributes

Inherited from:
Container

Attributes

Inherited from:
Component

Attributes

Inherited from:
JFrame
def validate(): Unit

Attributes

Inherited from:
Container

Deprecated and Inherited methods

def action(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Window

Attributes

Deprecated
true
Inherited from:
Window

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Frame

Attributes

Deprecated
true
Inherited from:
Component
def gotFocus(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Window

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Component
def lostFocus(x$0: Event, x$1: <FromJavaObject>): Boolean

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Window

Attributes

Deprecated
true
Inherited from:
Container

Attributes

Deprecated
true
Inherited from:
Window

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Frame

Attributes

Deprecated
true
Inherited from:
Window

Attributes

Deprecated
true
Inherited from:
Component

Attributes

Deprecated
true
Inherited from:
Component

Concrete fields

Attributes

Source
Canvas.scala

Attributes

Source
Canvas.scala
val redraw: Stream[IO, Int]

Attributes

Source
Canvas.scala