CPPosPixel

org.cosplay.CPPosPixel
final case class CPPosPixel(px: CPPixel, x: Int, y: Int) extends Ordered[CPPosPixel], Serializable

Immutable container for pixel and its XY-coordinate.

Value parameters

px

Pixel.

x

Pixel X-coordinate.

y

Pixel Y-coordinate.

Attributes

See also
Source
CPPosPixel.scala
Graph
Supertypes
trait Product
trait Equals
trait Serializable
trait Ordered[CPPosPixel]
trait Comparable[CPPosPixel]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def compare(that: CPPosPixel): Int

Attributes

Definition Classes
Ordered
Source
CPPosPixel.scala
inline def isBellowLeftOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isBellowRightOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isBelowOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isLeftOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isRightOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isSameColumn(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isSamePos(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isSameRow(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isTopLeftOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isTopOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def isTopRightOf(other: CPPosPixel): Boolean

Attributes

Source
CPPosPixel.scala
inline def withBg(c: Option[CPColor]): CPPosPixel

Attributes

Source
CPPosPixel.scala
inline def withChar(ch: Char): CPPosPixel

Attributes

Source
CPPosPixel.scala
inline def withFg(c: CPColor): CPPosPixel

Attributes

Source
CPPosPixel.scala
inline def withTag(t: Int): CPPosPixel

Attributes

Source
CPPosPixel.scala

Inherited methods

def <(that: CPPosPixel): Boolean

Attributes

Inherited from:
Ordered
def <=(that: CPPosPixel): Boolean

Attributes

Inherited from:
Ordered
def >(that: CPPosPixel): Boolean

Attributes

Inherited from:
Ordered
def >=(that: CPPosPixel): Boolean

Attributes

Inherited from:
Ordered
def compareTo(that: CPPosPixel): Int

Attributes

Inherited from:
Ordered
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val bg: Option[CPColor]

Attributes

Source
CPPosPixel.scala
val char: Char

Attributes

Source
CPPosPixel.scala
val fg: CPColor

Attributes

Source
CPPosPixel.scala
lazy val pos: (Int, Int)

Attributes

Source
CPPosPixel.scala
val tag: Int

Attributes

Source
CPPosPixel.scala
lazy val toInt2: CPInt2

Attributes

Source
CPPosPixel.scala