complexattrs

semagrams.util.complexattrs
object complexattrs

Custom laminar attributes for using complex numbers with svg more easily

These can be used both

  • with signals, i.e. xy <-- z,
  • with values, i.e. xy := z.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val cxy: CustomSvgAttr[Complex]

A custom svg attribute for setting cx and cy from one complex number

A custom svg attribute for setting cx and cy from one complex number

Attributes

A custom svg attribute for setting d (the svg element for describing a path) from a sequence of Path.Element.

A custom svg attribute for setting d (the svg element for describing a path) from a sequence of Path.Element.

Attributes

val pointsC: CustomSvgAttr[Seq[Complex]]

A custom svg attribute for setting points from a sequence of complex numbers

A custom svg attribute for setting points from a sequence of complex numbers

Attributes

val wh: CustomSvgAttr[Complex]

A custom svg attribute for setting w and h from one complex number

A custom svg attribute for setting w and h from one complex number

Attributes

val xy: CustomSvgAttr[Complex]

A custom svg attribute for setting x and y from one complex number

A custom svg attribute for setting x and y from one complex number

Attributes

val z1: CustomSvgAttr[Complex]

A custom svg attribute for setting x1 and y1 from a complex number

A custom svg attribute for setting x1 and y1 from a complex number

Attributes

val z2: CustomSvgAttr[Complex]

A custom svg attribute for setting x2 and y2 from a complex number

A custom svg attribute for setting x2 and y2 from a complex number

Attributes