GenericStyle

doodle.algebra.generic.GenericStyle
trait GenericStyle[G[_]] extends Style

Attributes

Source:
GenericStyle.scala
Graph
Supertypes
trait Style
trait Algebra
class Object
trait Matchable
class Any
Self type
Algebra { type Drawing = [A] =>> Finalized[G, A]; }

Members list

Concise view

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.

Attributes

Inherited from:
Algebra
Source:
Algebra.scala

Value members

Concrete methods

def fillColor[A](image: Finalized[G, A], fillColor: Color): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def fillGradient[A](image: Finalized[G, A], fillGradient: Gradient): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def noDash[A](image: Finalized[G, A]): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def noFill[A](image: Finalized[G, A]): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def noStroke[A](image: Finalized[G, A]): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def strokeCap[A](image: Finalized[G, A], cap: Cap): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def strokeColor[A](image: Finalized[G, A], strokeColor: Color): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def strokeDash[A](image: Finalized[G, A], pattern: Iterable[Double]): Finalized[G, 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.

Attributes

Source:
GenericStyle.scala
def strokeJoin[A](image: Finalized[G, A], join: Join): Finalized[G, A]

Attributes

Source:
GenericStyle.scala
def strokeWidth[A](image: Finalized[G, A], strokeWidth: Double): Finalized[G, A]

Attributes

Source:
GenericStyle.scala

Implicits

Inherited implicits

Attributes

Inherited from:
Algebra
Source:
Algebra.scala