TextStyle
org.appliedtopology.tda4j.plot.TextStyle
What to change about the look of one TextRole. Whatever is None stays as the plot has it.
Value parameters
- align
-
where along the plot area the text is:
Start(its left edge),MiddleorEnd; for a title, subtitle, axis label and note - angle
-
degrees counterclockwise: the x axis's tick labels, slanted to fit long labels
- font
-
a CSS
font-familylist for this text alone - limit
-
the longest the text may be, in pixels: a longer one is cut and ends in
…, with the whole text as its tooltip. The width is estimated letter by letter (TextWidth), as the font the reader sees is not known - paint
-
a palette role (
Paint.Muted) or a color of your own (Paint.Fixed("#333333")) - size
-
in pixels, before the style's
textScale
Attributes
- Experimental
- true
- Source
- Elements.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article