All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperscala.svg.Text.scala Maven / Gradle / Ivy

package org.hyperscala.svg

import traits.Shape
import org.hyperscala.{PropertyAttribute, Textual}

/**
 * @author Matt Hicks 
 */
class Text extends Shape with Textual {
  lazy val xmlLabel = "text"

  lazy val x = PropertyAttribute[Double]("x", 0.0)
  lazy val y = PropertyAttribute[Double]("y", 0.0)
  lazy val dx = PropertyAttribute[List[Double]]("dx", Nil)
  lazy val dy = PropertyAttribute[List[Double]]("dy", Nil)
  lazy val rotate = PropertyAttribute[List[Double]]("rotate", Nil)
  lazy val textLength = PropertyAttribute[String]("textLength", null)
  lazy val lengthAdjust = PropertyAttribute[String]("lengthAdjust", null)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy