Generated with
This document is part of the ebook for O1 (aka CS-A1110 Programming 1), a course at Aalto University.
This document is part of the ebook for O1 (aka CS-A1110 Programming 1), a course at Aalto University.
o1.world.Pos
See thePos companion class
This companion object of class Pos
provides alternative methods for creating new Pos
objects. It has an alias in the top-level package o1 , so it’s accessible to students simply via import o1._
.
Attributes
Companion
class
Graph
Reset zoom Hide graph Show graph
Supertypes
Self type
Members list
The names of the product elements
The names of the product elements
Attributes
Inherited from:
Mirror
Attributes
Inherited from:
Mirror
Constructs a Pos instance from the given pair of x and y coordinates.
Constructs a Pos instance from the given pair of x and y coordinates.
Attributes
Constructs a Pos instance from the coordinates of the given Point
object.
Constructs a Pos instance from the coordinates of the given Point
object.
Attributes
The origin (0,0) of the coordinate system as a Pos
instance.
The origin (0,0) of the coordinate system as a Pos
instance.
Attributes