Packages

final class ChartGrid extends AnyRef

Rectangular grid for color reference chart.

Each chip has size of 1x1. The chart top left corner is located at (0,0), bottom right corner at (nbColumns, nbRows).

Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ChartGrid
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ChartGrid(nbColumns: Int, nbRows: Int)

    nbColumns

    number of columns in the chart

    nbRows

    number of rows in the chart

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def chipAt(column: Int, row: Int, columnMargin: Double, rowMargin: Double): Array[Point2D]

    Compute outline of a chip located in (column, row).

    Compute outline of a chip located in (column, row).

    column

    chip's column.

    row

    chip's row.

    columnMargin

    chip border in column (same on both sides), as fraction of height.

    rowMargin

    chip border in row (same on both sides), as fraction of width.

    returns

    points defining chip outline.

  6. def chipAt(column: Int, row: Int, margin: Double): Array[Point2D]

    Compute outline of a chip located in (column, row).

    Compute outline of a chip located in (column, row). Chip size will be decreased by the margin on ech side.

    column

    chip's column.

    row

    chip's row.

    margin

    chip border (same on all 4 sides), as fraction of width or height.

    returns

    points defining chip outline.

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. def outline: Array[Point2D]

    Points outlining the chart: top-left, top-right, bottom-right, and bottom-left.

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped