Element

org.nlogo.shape.Element
See theElement companion object
abstract class Element(var awtColor: Color) extends Element, Serializable, Cloneable

Attributes

Companion
object
Source
Element.scala
Graph
Supertypes
trait Cloneable
trait Serializable
trait Element
class Object
trait Matchable
class Any
Show all
Known subtypes
class Circle
class Curve
class Polygon
class Line
class Rectangle

Members list

Value members

Abstract methods

def bounds: Rectangle

Attributes

Source
Element.scala
def contains(p: Point): Boolean

Attributes

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

Attributes

Source
Element.scala

Attributes

Source
Element.scala

Attributes

Source
Element.scala
def getHandles: Array[Point]

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
Element.scala
def rotateLeft(): Unit

Attributes

Source
Element.scala
def rotateRight(): Unit

Attributes

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

Attributes

Source
Element.scala

Attributes

Source
Element.scala

Concrete 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
Object
Source
Element.scala

Attributes

Source
Element.scala
def deselect(): Unit

Attributes

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

Attributes

Source
Element.scala
def select(): Unit

Attributes

Source
Element.scala

Concrete fields

var awtColor: Color

Attributes

Source
Element.scala

Attributes

Source
Element.scala

Attributes

Source
Element.scala