Bitbybit Docs
    Bereite Suchindex vor...

    Klasse RgbaAttomic255Dto (Inputs.Color)

    Separate red, green, blue and alpha values from 0 to 255, for building a color.

    Index

    Konstruktoren

    Eigenschaften

    r g b a

    Konstruktoren

    • Parameter

      • Optionalr: number
      • Optionalg: number
      • Optionalb: number
      • Optionala: number

      Rückgabewert RgbaAttomic255Dto

    Eigenschaften

    r: number

    The red channel, from 0 to 255.

    0
    

    0

    255

    g: number

    The green channel, from 0 to 255.

    0
    

    0

    255

    b: number

    The blue channel, from 0 to 255.

    255
    

    0

    255

    a: number

    The opacity, from 0 (transparent) to 1 (opaque).

    1
    

    0

    1