LegendBox

org.appliedtopology.tda4j.plot.LegendBox
final case class LegendBox(fill: Option[(Paint, Double)] = ..., frame: LineStyle = ..., padding: Option[Double] = ..., columns: Option[Int] = ...)

The box around a legend and how its entries are arranged, as asked for: nothing is drawn behind a legend unless it has a fill or a visible frame.

Value parameters

columns

the number of columns of entries (1 if not given), filled one column before the next

fill

the background of the box (a paint and its opacity), if it has one

frame

the line round the box

padding

the room between the box and its entries, in pixels before the legend's text scale (6 if not given)

Attributes

Experimental
true
Source
Elements.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala