Circle

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

Attributes

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

Members list

Value members

Constructors

def this(center: Point, circum: Point, color: Color)

Attributes

Source
Circle.scala
def this(x: Int, y: Int, xDiameter: Int, color: Color)

Attributes

Source
Circle.scala
def this(color: Color, filled: Boolean, marked: Boolean, x: Int, y: Int, diameter: Int)

Attributes

Source
Circle.scala

Concrete methods

def bounds: Rectangle

Attributes

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

Attributes

Source
Circle.scala
override def diameter: Int

Attributes

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

Attributes

Source
Circle.scala

Attributes

Source
Circle.scala

Attributes

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

Attributes

Definition Classes
Source
Circle.scala
def modify(center: Point, circum: Point): Unit

Attributes

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

Attributes

Source
Circle.scala
def origin: Point

Attributes

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

Attributes

Source
Circle.scala
def rotateLeft(): Unit

Attributes

Source
Circle.scala
def rotateRight(): Unit

Attributes

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

Attributes

Source
Circle.scala

Attributes

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

Concrete fields

var x: Int

Attributes

Source
Circle.scala
var y: Int

Attributes

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