final case class Path(points: Seq[Point], strokeWidth: Double) extends Drawable with Product with Serializable

A path with a strokable outline.

points

The points in the path. The path will be drawn in the same order as the provided sequence.

strokeWidth

The thickness of the line.

Linear Supertypes
Serializable, Product, Equals, Drawable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Path
  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 Path(points: Seq[Point], strokeWidth: Double)

    points

    The points in the path. The path will be drawn in the same order as the provided sequence.

    strokeWidth

    The thickness of the line.

Value Members

  1. def draw(context: RenderContext): Unit
    Definition Classes
    PathDrawable
  2. lazy val extent: Extent
    Definition Classes
    PathDrawable
  3. val points: Seq[Point]
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. val strokeWidth: Double