Line

org.nlogo.shape.Line
class Line(color: Color) extends Element, Line, Cloneable

Attributes

Source
Line.scala
Graph
Supertypes
trait Line
class Element
trait Cloneable
trait Serializable
trait Element
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(start: Point, last: Point, color: Color)

Attributes

Source
Line.scala
def this(color: Color, marked: Boolean, start: Point, end: Point)

Attributes

Source
Line.scala

Concrete methods

def bounds: Rectangle

Attributes

Source
Line.scala
override def clone: AnyRef

Create a copy of the receiver object.

Create a copy of the receiver object.

The default implementation of the clone method is platform dependent.

Attributes

Returns

a copy of the receiver object.

Note

not specified by SLS as a member of AnyRef

Definition Classes
Element -> Object
Source
Line.scala
def contains(p: Point): Boolean

Attributes

Source
Line.scala
def draw(g: GraphicsInterface, turtleColor: Color, scale: Double, angle: Double): Unit

Attributes

Source
Line.scala
override def endPoint: (Int, Int)

Attributes

Definition Classes
Source
Line.scala

Attributes

Source
Line.scala

Attributes

Source
Line.scala

Attributes

Source
Line.scala
def getEnd: Point

Attributes

Source
Line.scala
override def getHandles: Array[Point]

Attributes

Definition Classes
Source
Line.scala
def getStart: Point

Attributes

Source
Line.scala
def modify(start: Point, last: Point): Unit

Attributes

Source
Line.scala
def moveElement(xOffset: Int, yOffset: Int): Unit

Attributes

Source
Line.scala
def reshapeElement(oldPoint: Point, newPoint: Point): Unit

Attributes

Source
Line.scala
def rotateLeft(): Unit

Attributes

Source
Line.scala
def rotateRight(): Unit

Attributes

Source
Line.scala
def setModifiedPoint(modified: Point): Unit

Attributes

Source
Line.scala
override def startPoint: (Int, Int)

Attributes

Definition Classes
Source
Line.scala

Attributes

Source
Line.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Line.scala

Inherited methods

def deselect(): Unit

Attributes

Inherited from:
Element
Source
Element.scala
def displayColor(turtleColor: Color): Color

Attributes

Inherited from:
Element
Source
Element.scala
def select(): Unit

Attributes

Inherited from:
Element
Source
Element.scala

Inherited fields

var awtColor: Color

Attributes

Inherited from:
Element
Source
Element.scala

Attributes

Inherited from:
Element
Source
Element.scala

Attributes

Inherited from:
Element
Source
Element.scala