Layout
org.appliedtopology.tda4j.plot.Layout
final case class Layout(rows: Int, cols: Int, width: Int = ..., height: Int = ..., gap: Int = ..., widths: Vector[Double] = ..., heights: Vector[Double] = ...)
A grid of rows by cols cells that a Board fills with panels, in a drawing width by height pixels with gap pixels between cells. The columns share the width in proportion to widths (equal when empty) and the rows the height in proportion to heights; a weight is a relative size, Vector(1, 3) makes the second column three times as wide as the first.
Attributes
- Experimental
- true
- Source
- Layout.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article