Interface ColorDiagramCanvas.IPlane

Enclosing class:
ColorDiagramCanvas

public static interface ColorDiagramCanvas.IPlane
The function of the diagram.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    rgb(float x, float y)
    Gets the color at a position.
  • Method Details

    • rgb

      int rgb(float x, float y)
      Gets the color at a position.
      Parameters:
      x - Across, [0,1]; always 0 for a strip.
      y - Up, [0,1]: 0 at the bottom.
      Returns:
      The color; the alpha byte is ignored.