Rectangle

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

Attributes

Source
Rectangle.scala
Graph
Supertypes
trait Rectangle
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, end: Point, color: Color)

Attributes

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

Attributes

Source
Rectangle.scala

Concrete methods

def bounds: Rectangle

Attributes

Source
Rectangle.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
Rectangle.scala
def contains(p: Point): Boolean

Attributes

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

Attributes

Source
Rectangle.scala

Attributes

Source
Rectangle.scala

Attributes

Source
Rectangle.scala
def getCorners: Array[Point]

Attributes

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

Attributes

Definition Classes
Source
Rectangle.scala
override def getHeight: Int

Attributes

Definition Classes
Source
Rectangle.scala
override def getWidth: Int

Attributes

Definition Classes
Source
Rectangle.scala
override def getX: Int

Attributes

Definition Classes
Source
Rectangle.scala
override def getY: Int

Attributes

Definition Classes
Source
Rectangle.scala
override def lowerRightCorner: (Int, Int)

Attributes

Definition Classes
Source
Rectangle.scala
def modify(start: Point, last: Point): Unit

Attributes

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

Attributes

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

Attributes

Source
Rectangle.scala
def rotateLeft(): Unit

Attributes

Source
Rectangle.scala
def rotateRight(): Unit

Attributes

Source
Rectangle.scala

Attributes

Source
Rectangle.scala
override def setModifiedPoint(modified: Point): Unit

Attributes

Definition Classes
Source
Rectangle.scala

Attributes

Source
Rectangle.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
Rectangle.scala
override def upperLeftCorner: (Int, Int)

Attributes

Definition Classes
Source
Rectangle.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

Concrete fields

protected var lowerLeft: Point

Attributes

Source
Rectangle.scala
protected var lowerRight: Point

Attributes

Source
Rectangle.scala
protected var upperLeft: Point

Attributes

Source
Rectangle.scala
protected var upperRight: Point

Attributes

Source
Rectangle.scala
protected var xmax: Int

Attributes

Source
Rectangle.scala
protected var xmin: Int

Attributes

Source
Rectangle.scala
protected var ymax: Int

Attributes

Source
Rectangle.scala
protected var ymin: Int

Attributes

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