final case class Text(msg: String, size: Double = Text.defaultSize, fontFace: String = Text.defaultFontFace, extentOpt: Option[Extent] = None) extends Drawable with Product with Serializable

Some text.

msg

the string to render.

size

the font size of the text.

Linear Supertypes
Serializable, Product, Equals, Drawable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Text
  2. Serializable
  3. Product
  4. Equals
  5. Drawable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Text(msg: String, size: Double = Text.defaultSize, fontFace: String = Text.defaultFontFace, extentOpt: Option[Extent] = None)

    msg

    the string to render.

    size

    the font size of the text.

Value Members

  1. def draw(context: RenderContext): Unit
    Definition Classes
    TextDrawable
  2. lazy val extent: Extent
    Definition Classes
    TextDrawable
  3. val extentOpt: Option[Extent]
  4. val fontFace: String
  5. val msg: String
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. val size: Double