Curve

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

Attributes

Source
Curve.scala
Graph
Supertypes
class Element
trait Cloneable
trait Serializable
trait Element
class Object
trait Matchable
class Any
Show all
Known subtypes
class Polygon

Members list

Value members

Constructors

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

Attributes

Source
Curve.scala

Concrete methods

def bounds: Rectangle

Attributes

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

Attributes

Source
Curve.scala

Attributes

Source
Curve.scala

Attributes

Source
Curve.scala
def modify(start: Point, next: Point): Unit

Attributes

Source
Curve.scala
def rotateLeft(): Unit

Attributes

Source
Curve.scala
def rotateRight(): Unit

Attributes

Source
Curve.scala

Attributes

Source
Curve.scala

Inherited methods

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
Inherited from:
Element
Source
Element.scala
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 and Abstract methods

def contains(p: Point): Boolean

Attributes

Inherited from:
Element
Source
Element.scala
def getHandles: Array[Point]

Attributes

Inherited from:
Element
Source
Element.scala
def moveElement(xOffset: Int, yOffset: Int): Unit

Attributes

Inherited from:
Element
Source
Element.scala
def reshapeElement(oldPoint: Point, newPoint: Point): Unit

Attributes

Inherited from:
Element
Source
Element.scala
def setModifiedPoint(modified: Point): Unit

Attributes

Inherited from:
Element
Source
Element.scala

Concrete fields

var xcoords: Array[Int]

Attributes

Source
Curve.scala
var ycoords: Array[Int]

Attributes

Source
Curve.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