SvgLine

ostrat.pWeb.SvgLine
See theSvgLine companion object
class SvgLine(val x1: Double, val y1: Double, val x2: Double, val y2: Double, otherAttribs: RArr[XmlAtt]) extends SvgElem

Class to produce an SVG line.

Attributes

Companion
object
Graph
Supertypes
trait SvgElem
trait Xml1Lineable
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

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike

Attributes

Inherited from:
XmlElemLike
override def out(indent: Int, line1Delta: 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:
XmlLike1Lineable
def outEither(indent: Int, maxLineLen: Int): (Boolean, String)

I don't think this has been properly implemented. I believe the Boolean in the return value indicates if it is a single line output.

I don't think this has been properly implemented. I believe the Boolean in the return value indicates if it is a single line output.

Attributes

Inherited from:
XCon

Concrete fields

val x1: Double
val x1Att: XmlAtt
val x2: Double
val x2Att: XmlAtt
val y1: Double
val y1Att: XmlAtt
val y2: Double
val y2Att: XmlAtt