Closed

final case class Closed(vertices: List[Vertex]) extends Polygon
Companion:
object
trait Serializable
trait Product
trait Equals
trait Polygon
class Object
trait Matchable
class Any

Value members

Concrete methods

def moveBy(amount: Vertex): Closed
def moveTo(newPosition: Vertex): Closed
def scaleBy(vec: Vertex): Closed

Inherited methods

def addVertex(vertex: Vertex): Polygon
Inherited from:
Polygon
Inherited from:
Polygon
def contains(vertex: Vertex): Boolean
Inherited from:
Polygon
Inherited from:
Polygon
Inherited from:
Polygon
def moveBy(amount: Vector2): Polygon
Inherited from:
Polygon
Inherited from:
Polygon
def moveTo(newPosition: Vector2): Polygon
Inherited from:
Polygon
Inherited from:
Polygon
Inherited from:
Polygon
Inherited from:
Product
def rectangleIntersectCheck(rectangle: Rectangle): Boolean
Inherited from:
Polygon
def scaleBy(vec: Vector2): Polygon
Inherited from:
Polygon
def scaleBy(amount: Double): Polygon
Inherited from:
Polygon
override def toString: String
Definition Classes
Polygon -> Any
Inherited from:
Polygon

Inherited fields

Inherited from:
Polygon