Open

indigo.shared.geometry.Polygon$.Open
See theOpen companion object
final case class Open(vertices: Batch[Vertex]) extends Polygon

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Polygon
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

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

Inherited methods

def addVertex(vertex: Vertex): Polygon

Attributes

Inherited from:
Polygon

Attributes

Inherited from:
Polygon
def contains(vertex: Vertex): Boolean

Attributes

Inherited from:
Polygon
def edgeCount: Int

Attributes

Inherited from:
Polygon

Attributes

Inherited from:
Polygon
def moveBy(amount: Vector2): Polygon

Attributes

Inherited from:
Polygon
def moveBy(x: Double, y: Double): Polygon

Attributes

Inherited from:
Polygon
def moveTo(newPosition: Vector2): Polygon

Attributes

Inherited from:
Polygon
def moveTo(x: Double, y: Double): Polygon

Attributes

Inherited from:
Polygon

Attributes

Inherited from:
Polygon

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Attributes

Inherited from:
Polygon
def scaleBy(vec: Vector2): Polygon

Attributes

Inherited from:
Polygon
def scaleBy(amount: Double): Polygon

Attributes

Inherited from:
Polygon
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
Polygon -> Any
Inherited from:
Polygon

Inherited fields

Attributes

Inherited from:
Polygon