class PpmCanvas extends SurfaceBackedCanvas
A low level Canvas implementation that outputs the image in the PPM format to the stdout. This canvas doesn't support fetching the keyboard input.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PpmCanvas
- SurfaceBackedCanvas
- LowLevelCanvas
- 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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def blit(that: Surface, mask: Option[Color])(x: Int, y: Int, cx: Int, cy: Int, cw: Int, ch: Int): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- def changeSettings(newSettings: Settings): Unit
- Definition Classes
- PpmCanvas → Canvas
- def clear(buffers: Set[Buffer]): Unit
- Definition Classes
- PpmCanvas → Canvas
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def close(): Unit
- Definition Classes
- LowLevelCanvas → AutoCloseable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val extendedSettings: ExtendedSettings
- Attributes
- protected[this]
- Definition Classes
- LowLevelCanvas
- def fill(color: Color): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def getKeyboardInput(): KeyboardInput
- Definition Classes
- PpmCanvas → Canvas
- def getPixel(x: Int, y: Int): Option[Color]
- Definition Classes
- SurfaceBackedCanvas → Surface
- def getPixels(): Vector[Array[Color]]
- Definition Classes
- SurfaceBackedCanvas → Surface
- def getPointerInput(): PointerInput
- Definition Classes
- PpmCanvas → Canvas
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def height: Int
- Definition Classes
- Canvas → Surface
- def init(settings: Settings): Unit
- Definition Classes
- LowLevelCanvas
- def isCreated(): Boolean
- Definition Classes
- LowLevelCanvas
- 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()
- def putPixel(x: Int, y: Int, color: Color): Unit
- Definition Classes
- SurfaceBackedCanvas → MutableSurface
- def redraw(): Unit
- Definition Classes
- PpmCanvas → Canvas
- def settings: Settings
- Definition Classes
- LowLevelCanvas → Canvas
- var surface: RamSurface
- Attributes
- protected
- Definition Classes
- PpmCanvas → 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 unsafeDestroy(): Unit
- Definition Classes
- PpmCanvas → LowLevelCanvas
- def unsafeInit(newSettings: Settings): Unit
- Definition Classes
- PpmCanvas → LowLevelCanvas
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def width: Int
- Definition Classes
- Canvas → Surface
Deprecated Value Members
- def blitWithMask(that: Surface, mask: Color)(x: Int, y: Int, cx: Int, cy: Int, cw: Int, ch: Int): Unit
- Definition Classes
- MutableSurface
- Annotations
- @deprecated
- Deprecated
Use blit instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated