Algebra

final case class Algebra(gc: Graphics2D, applyF: Apply[Reification], functorF: Functor[Reification]) extends Basic[Drawing] with ReifiedBitmap with ReifiedPath with ReifiedShape with ReifiedText with GenericDebug[Reification] with GenericLayout[Reification] with GenericSize[Reification] with GenericStyle[Reification] with GenericTransform[Reification] with GivenApply[Reification] with GivenFunctor[Reification]
trait Serializable
trait Product
trait Equals
trait GivenFunctor[Reification]
trait GivenApply[Reification]
trait GenericTransform[Reification]
trait GenericStyle[Reification]
trait GenericSize[Reification]
trait GenericLayout[Reification]
trait GenericDebug[Reification]
trait GenericText[Reification]
trait Text[[_] =>> Finalized[Reification, _$2]]
trait GenericShape[Reification]
trait GenericPath[Reification]
trait Bitmap[Drawing]
trait Basic[Drawing]
trait Transform[[_] =>> Finalized[Reification, _$2]]
trait Style[[_] =>> Finalized[Reification, _$2]]
trait Size[[_] =>> Finalized[Reification, _$2]]
trait Shape[[_] =>> Finalized[Reification, _$2]]
trait Path[[_] =>> Finalized[Reification, _$2]]
trait Layout[[_] =>> Finalized[Reification, _$2]]
trait Debug[[_] =>> Finalized[Reification, _$2]]
trait Algebra[[_] =>> Finalized[Reification, _$2]]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

object PathApi extends PathApi
Inherited from:
ReifiedPath
trait PathApi
Inherited from:
GenericPath
object ShapeApi extends ShapeApi
Inherited from:
ReifiedShape
trait ShapeApi
Inherited from:
GenericShape
trait TextApi
Inherited from:
GenericText

Inherited types

type _$3
Inherited from:
GenericDebug
type _$4
Inherited from:
GenericDebug

Value members

Inherited methods

def above[A](top: Finalized[Reification, A], bottom: Finalized[Reification, A])(implicit s: Semigroup[A]): Finalized[Reification, A]
Inherited from:
GenericLayout
def at[A](img: Finalized[Reification, A], landmark: Landmark): Finalized[Reification, A]
Inherited from:
GenericLayout
def at[A](img: Finalized[Reification, A], offset: Point): Finalized[Reification, A]
Inherited from:
Layout
def at[A](img: Finalized[Reification, A], offset: Vec): Finalized[Reification, A]
Inherited from:
Layout
def at[A](img: Finalized[Reification, A], r: Double, a: Angle): Finalized[Reification, A]
Inherited from:
Layout
def at[A](img: Finalized[Reification, A], x: Double, y: Double): Finalized[Reification, A]
Inherited from:
Layout
def below[A](bottom: Finalized[Reification, A], top: Finalized[Reification, A])(implicit s: Semigroup[A]): Finalized[Reification, A]
Inherited from:
Layout
def beside[A](left: Finalized[Reification, A], right: Finalized[Reification, A])(implicit s: Semigroup[A]): Finalized[Reification, A]
Inherited from:
GenericLayout
def boundingBox[A](picture: Finalized[Reification, A]): Finalized[Reification, BoundingBox]

Get the bounding box enclosing the picture

Get the bounding box enclosing the picture

Inherited from:
GenericSize
def boundingBox(elements: List[PathElement]): BoundingBox
Inherited from:
GenericPath
def catmulRom(points: Seq[Point], tension: Double): Finalized[Reification, Unit]
Inherited from:
Path
def circle(diameter: Double): Finalized[Reification, Unit]
Inherited from:
GenericShape
def debug[A](picture: Finalized[Reification, A], color: Color): Finalized[Reification, A]
Inherited from:
GenericDebug
def empty: Finalized[Reification, Unit]
Inherited from:
GenericShape
def equilateralTriangle(width: Double): Finalized[Reification, Unit]

Create an equilateral triangle with the given side length.

Create an equilateral triangle with the given side length.

Inherited from:
Path
def fillColor[A](image: Finalized[Reification, A], fillColor: Color): Finalized[Reification, A]
Inherited from:
GenericStyle
def fillGradient[A](image: Finalized[Reification, A], fillGradient: Gradient): Finalized[Reification, A]
Inherited from:
GenericStyle
def font[A](image: Finalized[Reification, A], font: Font): Finalized[Reification, A]
Inherited from:
GenericText
def height[A](picture: Finalized[Reification, A]): Finalized[Reification, Double]

Get the height of the bounding box enclosing the picture

Get the height of the bounding box enclosing the picture

Inherited from:
GenericSize
def horizontalReflection[A](img: Finalized[Reification, A]): Finalized[Reification, A]
Inherited from:
Transform
def interpolatingSpline(points: Seq[Point]): Finalized[Reification, Unit]
Inherited from:
Path
def margin[A](img: Finalized[Reification, A], top: Double, right: Double, bottom: Double, left: Double): Finalized[Reification, A]
Inherited from:
GenericLayout
def margin[A](img: Finalized[Reification, A], width: Double): Finalized[Reification, A]
Inherited from:
Layout
def margin[A](img: Finalized[Reification, A], width: Double, height: Double): Finalized[Reification, A]
Inherited from:
Layout
def noDash[A](image: Finalized[Reification, A]): Finalized[Reification, A]
Inherited from:
GenericStyle
def noFill[A](image: Finalized[Reification, A]): Finalized[Reification, A]
Inherited from:
GenericStyle
def noStroke[A](image: Finalized[Reification, A]): Finalized[Reification, A]
Inherited from:
GenericStyle
def on[A](top: Finalized[Reification, A], bottom: Finalized[Reification, A])(implicit s: Semigroup[A]): Finalized[Reification, A]
Inherited from:
GenericLayout
def originAt[A](img: Finalized[Reification, A], landmark: Landmark): Finalized[Reification, A]
Inherited from:
GenericLayout
def originAt[A](img: Finalized[Reification, A], offset: Point): Finalized[Reification, A]
Inherited from:
Layout
def originAt[A](img: Finalized[Reification, A], offset: Vec): Finalized[Reification, A]
Inherited from:
Layout
def originAt[A](img: Finalized[Reification, A], r: Double, a: Angle): Finalized[Reification, A]
Inherited from:
Layout
def originAt[A](img: Finalized[Reification, A], x: Double, y: Double): Finalized[Reification, A]
Inherited from:
Layout
def path(path: OpenPath): Finalized[Reification, Unit]
Inherited from:
GenericPath
def path(path: ClosedPath): Finalized[Reification, Unit]
Inherited from:
GenericPath
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def read(file: File): Drawing[Unit]
Inherited from:
ReifiedBitmap
def read(file: String): Drawing[Unit]

Convenience to read an image from the file specified in the given String

Convenience to read an image from the file specified in the given String

Inherited from:
Bitmap
def rectangle(width: Double, height: Double): Finalized[Reification, Unit]
Inherited from:
GenericShape
def regularPolygon(sides: Int, radius: Double): Finalized[Reification, Unit]
Inherited from:
Path
def rotate[A](img: Finalized[Reification, A], angle: Angle): Finalized[Reification, A]
Inherited from:
Transform
def roundedRectangle(width: Double, height: Double, radius: Double): Finalized[Reification, Unit]
Inherited from:
Path
def scale[A](img: Finalized[Reification, A], x: Double, y: Double): Finalized[Reification, A]
Inherited from:
Transform
def size[A](picture: Finalized[Reification, A]): Finalized[Reification, (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

Inherited from:
GenericSize
def square(width: Double): Finalized[Reification, Unit]
Inherited from:
GenericShape
def star(points: Int, outerRadius: Double, innerRadius: Double): Finalized[Reification, Unit]
Inherited from:
Path
def strokeCap[A](image: Finalized[Reification, A], cap: Cap): Finalized[Reification, A]
Inherited from:
GenericStyle
def strokeColor[A](image: Finalized[Reification, A], strokeColor: Color): Finalized[Reification, A]
Inherited from:
GenericStyle
def strokeDash[A](image: Finalized[Reification, A], pattern: Iterable[Double]): Finalized[Reification, A]
Inherited from:
GenericStyle
def strokeJoin[A](image: Finalized[Reification, A], join: Join): Finalized[Reification, A]
Inherited from:
GenericStyle
def strokeWidth[A](image: Finalized[Reification, A], strokeWidth: Double): Finalized[Reification, A]
Inherited from:
GenericStyle
def text(text: String): Finalized[Reification, Unit]
Inherited from:
GenericText
def transform[A](img: Finalized[Reification, A], tx: Transform): Finalized[Reification, A]
Inherited from:
GenericTransform
def translate[A](img: Finalized[Reification, A], vec: Vec): Finalized[Reification, A]
Inherited from:
Transform
def translate[A](img: Finalized[Reification, A], x: Double, y: Double): Finalized[Reification, A]
Inherited from:
Transform
def triangle(width: Double, height: Double): Finalized[Reification, Unit]
Inherited from:
GenericShape
def under[A](bottom: Finalized[Reification, A], top: Finalized[Reification, A])(implicit s: Semigroup[A]): Finalized[Reification, A]
Inherited from:
Layout
def verticalReflection[A](img: Finalized[Reification, A]): Finalized[Reification, A]
Inherited from:
Transform
def width[A](picture: Finalized[Reification, A]): Finalized[Reification, Double]

Get the width of the bounding box enclosing the picture

Get the width of the bounding box enclosing the picture

Inherited from:
GenericSize

Inherited fields

Inherited from:
ReifiedText