Style

trait Style extends Algebra

Apply styling to a image.

Source:
Style.scala
trait Algebra
class Object
trait Matchable
class Any
trait GenericStyle[G]
class Algebra
trait Basic

Type members

Inherited types

type Drawing[_]

The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

Inherited from:
Algebra
Source:
Algebra.scala

Value members

Abstract methods

def fillColor[A](image: Drawing[A], fillColor: Color): Drawing[A]
def fillGradient[A](image: Drawing[A], fillGradient: Gradient): Drawing[A]
def noDash[A](image: Drawing[A]): Drawing[A]
def noFill[A](image: Drawing[A]): Drawing[A]
def noStroke[A](image: Drawing[A]): Drawing[A]
def strokeCap[A](image: Drawing[A], strokeCap: Cap): Drawing[A]
def strokeColor[A](image: Drawing[A], strokeColor: Color): Drawing[A]
def strokeDash[A](image: Drawing[A], pattern: Iterable[Double]): Drawing[A]

Specify the stroke dash pattern. The pattern gives the length, in local coordinates, of opaque and transparent sections. The first element is the length of an opaque section, the second of a transparent section, and so on.

Specify the stroke dash pattern. The pattern gives the length, in local coordinates, of opaque and transparent sections. The first element is the length of an opaque section, the second of a transparent section, and so on.

Source:
Style.scala
def strokeJoin[A](image: Drawing[A], strokeJoin: Join): Drawing[A]
def strokeWidth[A](image: Drawing[A], strokeWidth: Double): Drawing[A]

Implicits

Inherited implicits

Inherited from:
Algebra
Source:
Algebra.scala