aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scalam/plotting/styles/line/lines.scala
blob: 63c6d23b2731361236d49b2866e303bc4d0f4de6 (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 {
  def 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")}