Viewport

smile.pictures.Viewport
class Viewport(val boundary: Bounds)

Represents a viewport with a defined boundary. A viewport is a window or a region through which a subset of the larger picture is viewed or displayed.

Value parameters

boundary

The boundary defining the limits of the viewport.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def height: Len
def width: Len

Concrete fields