object ShapeParser
- Source
- ShapeParser.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShapeParser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class Circle(color: RgbColor, filled: Boolean, marked: Boolean, x: Int, y: Int, diameter: Int) extends Shape.Circle with Product with Serializable
- case class Line(color: RgbColor, marked: Boolean, startPoint: (Int, Int), endPoint: (Int, Int)) extends Shape.Line with Product with Serializable
- case class LinkLine(xcor: Double, isVisible: Boolean, dashChoices: Seq[Float]) extends Shape.LinkLine with Product with Serializable
- case class LinkShape(name: String, curviness: Double, linkLines: Seq[LinkLine], indicator: VectorShape) extends Shape.LinkShape with Product with Serializable
- case class Polygon(color: RgbColor, filled: Boolean, marked: Boolean, points: (Int, Int)*) extends Shape.Polygon with Product with Serializable
- case class Rectangle(color: RgbColor, filled: Boolean, marked: Boolean, upperLeftCorner: (Int, Int), lowerRightCorner: (Int, Int)) extends Shape.Rectangle with Product with Serializable
- case class VectorShape(name: String, rotatable: Boolean, editableColorIndex: Int, elements: Element*) extends Shape.VectorShape with Product with Serializable
Value Members
- def formatLinkShapes(shapes: Seq[Shape.LinkShape]): String
- def formatVectorShapes(shapes: Seq[Shape.VectorShape]): String
- def parseLinkShapes(lines: Array[String]): Seq[LinkShape]
- def parseLinkShapes(lines: Seq[String]): Seq[LinkShape]
- def parseVectorShapes(lines: Array[String]): Seq[VectorShape]
- def parseVectorShapes(lines: Seq[String]): Seq[VectorShape]