class AwtCanvas extends SurfaceBackedCanvas
A low level Canvas implementation that shows the image in an AWT/Swing window.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AwtCanvas
- SurfaceBackedCanvas
- LowLevelCanvas
- Extended
- LowLevelSubsystem
- AutoCloseable
- Canvas
- MutableSurface
- Surface
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++[SettingsB, SubsystemB <: LowLevelSubsystem[SettingsB]](that: SubsystemB): Composite[Settings, SettingsB, AwtCanvas.this.type, that.type]
- Definition Classes
- LowLevelSubsystem
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _extendedSettings: ExtendedSettings
- Attributes
- protected
- Definition Classes
- Extended
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def blit(that: Surface, blendMode: BlendMode)(x: Int, y: Int, cx: Int, cy: Int, cw: Int, ch: Int): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- def canvasSettings: Settings
- Definition Classes
- LowLevelCanvas → Canvas
- def changeSettings(newSettings: Settings): Unit
- Definition Classes
- Extended → LowLevelSubsystem
- def clear(buffers: Set[Buffer]): Unit
- Definition Classes
- AwtCanvas → Canvas
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def close(): Unit
- Definition Classes
- Extended → LowLevelSubsystem → AutoCloseable
- lazy val defaultSettings: ExtendedSettings
- Attributes
- protected
- Definition Classes
- LowLevelCanvas → Extended
- def elideSettings(extendedSettings: ExtendedSettings): Settings
- Attributes
- protected
- Definition Classes
- LowLevelCanvas → Extended
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extendedSettings: ExtendedSettings
- Definition Classes
- Extended
- def fill(color: Color): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- def fillRegion(x: Int, y: Int, w: Int, h: Int, color: Color): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getKeyboardInput(): KeyboardInput
- Definition Classes
- AwtCanvas → Canvas
- final def getPixel(x: Int, y: Int): Option[Color]
- Definition Classes
- Surface
- final def getPixelOrElse(x: Int, y: Int, fallback: Color): Color
- Definition Classes
- Surface
- def getPixels(): Vector[Array[Color]]
- Definition Classes
- SurfaceBackedCanvas → Surface
- def getPointerInput(): PointerInput
- Definition Classes
- AwtCanvas → Canvas
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def height: Int
- Definition Classes
- Canvas → Surface
- def init(settings: Settings): AwtCanvas.this.type
- Definition Classes
- Extended → LowLevelSubsystem
- def isCreated(): Boolean
- Definition Classes
- Extended → LowLevelSubsystem
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def putPixel(x: Int, y: Int, color: Color): Unit
- Definition Classes
- MutableSurface
- def redraw(): Unit
- Definition Classes
- AwtCanvas → Canvas
- def settings: Settings
- Definition Classes
- Extended → LowLevelSubsystem
- var surface: BufferedImageSurface
- Attributes
- protected
- Definition Classes
- AwtCanvas → SurfaceBackedCanvas
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toRamSurface(): RamSurface
- Definition Classes
- Surface
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeApplySettings(newSettings: Settings): ExtendedSettings
- Attributes
- protected
- Definition Classes
- AwtCanvas → Extended
- def unsafeDestroy(): Unit
- Attributes
- protected
- Definition Classes
- AwtCanvas → Extended
- def unsafeGetPixel(x: Int, y: Int): Color
- Definition Classes
- SurfaceBackedCanvas → Surface
- def unsafeInit(): Unit
- Attributes
- protected
- Definition Classes
- AwtCanvas → Extended
- def unsafePutPixel(x: Int, y: Int, color: Color): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- def view: SurfaceView
- Definition Classes
- Surface
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def width: Int
- Definition Classes
- Canvas → Surface
Deprecated Value Members
- def blit(that: Surface, mask: Option[Color])(x: Int, y: Int, cx: Int, cy: Int, cw: Int, ch: Int): Unit
- Definition Classes
- MutableSurface
- Annotations
- @deprecated
- Deprecated
Use blendMode instead of mask
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated