The OpenD Programming Language

SolidPattern.fromRGB

Creates a new SolidPattern corresponding to an opaque color. The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.

  1. SolidPattern fromRGB(double red, double green, double blue)
  2. SolidPattern fromRGB(RGB rgb)
    class SolidPattern
    static
    fromRGB

Meta