SvgText

ostrat.pWeb.SvgText
See theSvgText companion object
class SvgText(val x: Double, val y: Double, val text: String, val align: TextAlign, colour: Colour) extends SvgElem

Attributes

Companion
object
Graph
Supertypes
trait SvgElem
trait XmlElem
trait XmlElemLike
trait XCon
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def attribs: RArr[XmlAtt]

The attributes of this XML / HTML element.

The attributes of this XML / HTML element.

Attributes

Definition Classes
override def contents: RArr[XCon]

The content of this XML / HTML element.

The content of this XML / HTML element.

Attributes

Definition Classes
override def tag: String

The XML /HTML tag String. A tag is a markup construct that begins with < and ends with >

The XML /HTML tag String. A tag is a markup construct that begins with < and ends with >

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
XmlElemLike
def attribsOutLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines

The XML / HTML output for this element's attributes.

The XML / HTML output for this element's attributes.

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike
def openAtts(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XmlElemLike
def openTag(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XmlElemLike

The length of the < character plus the tag.

The length of the < character plus the tag.

Attributes

Inherited from:
XmlElemLike
def openUnclosed(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Attributes

Inherited from:
XmlElemLike
override def out(indent: Int, line1InputLen: Int, maxLineLen: Int): String

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context.

Returns the XML / HTML source code, formatted according to the input. This allows the XML to be indented according to its context.

Attributes

Definition Classes
Inherited from:
XmlLikeMaybeSingle
def outLines(indent: Int, line1InputLen: Int, maxLineLen: Int): TextLines

This should replace the outEither method and possibly the out method as well.

This should replace the outEither method and possibly the out method as well.

Attributes

Inherited from:
XCon
def tagLen: Int

The number of characters in the tag. This is useful for calculating new lines in multi line elements.

The number of characters in the tag. This is useful for calculating new lines in multi line elements.

Attributes

Inherited from:
XmlElemLike

Concrete fields

val text: String
val x: Double
val y: Double