aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scalam/plotting/styles/line/lines.scala
blob: f0bc24ad37dbd7fb3421f307bd7e4f5a0fa89fda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package scalam.plotting.styles.line

import scalam.m.ast._
import scalam.plotting.styles.StyleElement

trait Line extends StyleElement {
  val name = StringLiteral("LineStyle")
}

case object Solid extends Line {def expression = StringLiteral("-")}
case object Dashed extends Line {def expression = StringLiteral("--")}
case object Dotted extends Line {def expression = StringLiteral(":")}
case object DashDot extends Line {def expression = StringLiteral("-.")}
case object NoLine extends Line {def expression = StringLiteral("none")}