com.github.mdr.ascii.common

Region

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def area: Int

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def bottomLeft: Point

  9. val bottomRight: Point

  10. def bottomRow: Int

  11. def clone(): AnyRef

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

  13. def contains(point: Point): Boolean

  14. def dimension: Dimension

  15. def down(n: Int): Region

    Definition Classes
    Translatable
  16. def down: Region

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

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

  19. def expandLeft(n: Int): Region

  20. def expandRight(n: Int): Region

  21. def expandUp(n: Int): Region

  22. final def getClass(): Class[_]

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

    Definition Classes
    Translatable
  24. def height: Int

  25. def intersects(that: Region): Boolean

  26. def isDisjoint(that: Region): Boolean

  27. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    Translatable
  29. def left: Region

    Definition Classes
    Translatable
  30. def leftColumn: Int

  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

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

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

  35. def region: Region

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

    Definition Classes
    Translatable
  37. def right: Region

    Definition Classes
    Translatable
  38. def rightColumn: Int

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

    Definition Classes
    AnyRef
  40. val topLeft: Point

  41. def topRight: Point

  42. def topRow: Int

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

    Definition Classes
    RegionTranslatable
  44. def transpose: Region

    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
  45. def up(n: Int): Region

    Definition Classes
    Translatable
  46. def up: Region

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

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

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

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

Deprecated Value Members

  1. def finalize(): Unit

    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