Surface

bearlyb.surface.Surface
See theSurface companion class
object Surface

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Surface.type

Members list

Type members

Types

type Pos = Point[Int]

Value members

Concrete methods

def apply(width: Int, height: Int, format: PixelFormat): Surface
def loadBMP(file: String): Option[Surface]
def loadGIF(file: String): Option[(w: Int, h: Int, n: Int, frames: IndexedSeq[(surface: Surface, delay: Int)])]
def loadImage(file: String): Option[Surface]
def unapply(s: Surface): Some[(width: Int, height: Int, format: PixelFormat)]