Size

trait Size[F[_]] extends Algebra[F]

Get information about the size of the bounding box enclosing an picture.

trait Algebra[F]
class Object
trait Matchable
class Any
trait GenericSize[F]
class Algebra
trait Basic[F]

Value members

Abstract methods

def boundingBox[A](picture: F[A]): F[BoundingBox]

Get the bounding box enclosing the picture

Get the bounding box enclosing the picture

def height[A](picture: F[A]): F[Double]

Get the height of the bounding box enclosing the picture

Get the height of the bounding box enclosing the picture

def size[A](picture: F[A]): F[(Double, Double)]

Get the width and height of the bounding box enclosing the picture

Get the width and height of the bounding box enclosing the picture

def width[A](picture: F[A]): F[Double]

Get the width of the bounding box enclosing the picture

Get the width of the bounding box enclosing the picture