smile.pictures.Line
Straight lines.
import smile.colors.PresetColor.*
import smile.modeling.*
val line = Line(Pos(0, 40), Pos(120, 0), lineWith(Crimson, 8, round = true).get)

Attributes
- Source
-
Shapes.scala
- Graph
-
- Supertypes
-
trait Matchable
class Any
- Self type
-
Members list
A line from (startX, startY) to (endX, endY).
A line from (startX, startY) to (endX, endY).
Attributes
- Source
-
Shapes.scala
A line from start to end, its anchor halfway between them.
A line from start to end, its anchor halfway between them.
Attributes
- Source
-
Shapes.scala
Generated with
Scala Media Interactive Learning / Aalto LeTech
Scala Media Interactive Learning / Aalto LeTech