Style

trait Style[F[_]] extends Algebra[F]

Apply styling to a image.

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

Value members

Abstract methods

def fillColor[A](image: F[A], fillColor: Color): F[A]
def fillGradient[A](image: F[A], fillGradient: Gradient): F[A]
def noDash[A](image: F[A]): F[A]
def noFill[A](image: F[A]): F[A]
def noStroke[A](image: F[A]): F[A]
def strokeCap[A](image: F[A], strokeCap: Cap): F[A]
def strokeColor[A](image: F[A], strokeColor: Color): F[A]
def strokeDash[A](image: F[A], pattern: Iterable[Double]): F[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.

def strokeJoin[A](image: F[A], strokeJoin: Join): F[A]
def strokeWidth[A](image: F[A], strokeWidth: Double): F[A]