Polygon

scalation.scala2d.Polygon
abstract class Polygon() extends Polygon

The Polygon class adds an abstract setFrame method to java.awt.Polygon for compatibility with RectangularShape.

Attributes

Graph
Supertypes
class Polygon
trait Serializable
trait Shape
class Object
trait Matchable
class Any
Show all
Known subtypes
class Hexagon
class Octagon
class Pentagon
class Quad
class Triangle

Members list

Value members

Abstract methods

def setFrame(x: Double, y: Double, w: Double, h: Double): Unit

Inherited methods

def addPoint(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Polygon
def contains(x$0: Rectangle2D): Boolean

Attributes

Inherited from:
Polygon
def contains(x$0: Double, x$1: Double, x$2: Double, x$3: Double): Boolean

Attributes

Inherited from:
Polygon
def contains(x$0: Point2D): Boolean

Attributes

Inherited from:
Polygon
def contains(x$0: Double, x$1: Double): Boolean

Attributes

Inherited from:
Polygon
def contains(x$0: Int, x$1: Int): Boolean

Attributes

Inherited from:
Polygon
def contains(x$0: Point): Boolean

Attributes

Inherited from:
Polygon
def getBounds(): Rectangle

Attributes

Inherited from:
Polygon
def getBounds2D(): Rectangle2D

Attributes

Inherited from:
Polygon
def getPathIterator(x$0: AffineTransform, x$1: Double): PathIterator

Attributes

Inherited from:
Polygon
def getPathIterator(x$0: AffineTransform): PathIterator

Attributes

Inherited from:
Polygon
def intersects(x$0: Rectangle2D): Boolean

Attributes

Inherited from:
Polygon
def intersects(x$0: Double, x$1: Double, x$2: Double, x$3: Double): Boolean

Attributes

Inherited from:
Polygon
def invalidate(): Unit

Attributes

Inherited from:
Polygon
def reset(): Unit

Attributes

Inherited from:
Polygon
def translate(x$0: Int, x$1: Int): Unit

Attributes

Inherited from:
Polygon

Deprecated and Inherited methods

@Deprecated
def getBoundingBox(): Rectangle

Attributes

Deprecated
true
Inherited from:
Polygon
@Deprecated
def inside(x$0: Int, x$1: Int): Boolean

Attributes

Deprecated
true
Inherited from:
Polygon

Inherited fields

var npoints: Int

Attributes

Inherited from:
Polygon
var xpoints: Array[Int]

Attributes

Inherited from:
Polygon
var ypoints: Array[Int]

Attributes

Inherited from:
Polygon