Class/Object

com.github.mdr.ascii.common

Region

Related Docs: object Region | package common

Permalink

case class Region(topLeft: Point, bottomRight: Point) extends Translatable[Region] with Transposable[Region] with HasRegion with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, HasRegion, Transposable[Region], Translatable[Region], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Region
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasRegion
  7. Transposable
  8. Translatable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Region(topLeft: Point, bottomRight: Point)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def area: Int

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def bottomLeft: Point

    Permalink
  7. val bottomRight: Point

    Permalink
  8. def bottomRow: Int

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  10. def contains(region: Region): Boolean

    Permalink
  11. def contains(point: Point): Boolean

    Permalink
  12. def dimension: Dimension

    Permalink
  13. def down(n: Int): Region

    Permalink
    Definition Classes
    Translatable
  14. def down: Region

    Permalink
    Definition Classes
    Translatable
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def expandDown(n: Int): Region

    Permalink
  17. def expandLeft(n: Int): Region

    Permalink
  18. def expandRight(n: Int): Region

    Permalink
  19. def expandUp(n: Int): Region

    Permalink
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def go(direction: Direction): Region

    Permalink
    Definition Classes
    Translatable
  22. def height: Int

    Permalink
  23. def intersects(that: Region): Boolean

    Permalink
  24. def isDisjoint(that: Region): Boolean

    Permalink
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def left(n: Int): Region

    Permalink
    Definition Classes
    Translatable
  27. def left: Region

    Permalink
    Definition Classes
    Translatable
  28. def leftColumn: Int

    Permalink
  29. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. def points: List[Point]

    Permalink
  33. def region: Region

    Permalink
    Definition Classes
    RegionHasRegion
  34. def right(n: Int): Region

    Permalink
    Definition Classes
    Translatable
  35. def right: Region

    Permalink
    Definition Classes
    Translatable
  36. def rightColumn: Int

    Permalink
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. val topLeft: Point

    Permalink
  39. def topRight: Point

    Permalink
  40. def topRow: Int

    Permalink
  41. def translate(down: Int = 0, right: Int = 0): Region

    Permalink
    Definition Classes
    RegionTranslatable
  42. def transpose: Region

    Permalink

    Flip this item across the top-left to bottom-right diagonal.

    Flip this item across the top-left to bottom-right diagonal.

    Definition Classes
    RegionTransposable
  43. def up(n: Int): Region

    Permalink
    Definition Classes
    Translatable
  44. def up: Region

    Permalink
    Definition Classes
    Translatable
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def width: Int

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasRegion

Inherited from Transposable[Region]

Inherited from Translatable[Region]

Inherited from AnyRef

Inherited from Any

Ungrouped