reb
Class REB_Sunset

Object
  extended by common:Generic
      extended by reb:REB_DirectColorHelper
          extended by reb:REB_Sunset

class 
REB_DirectColorHelper:REB_Sunset

Provides colors to use with some Direct Coloring classes


Ultra Fractal Source

Toggle UF Source Code Display

 class REB_Sunset(REB_DirectColorHelper) {
 ; Provides colors to use with some Direct Coloring classes <br>
 public:
   import "common.ulb"
 
   ; constructor
   func REB_Sunset(Generic pparent)
     REB_DirectColorHelper(pparent)
   endfunc
 
   func Init()
     direct[0] = @color1
     direct[1] = @color2
     direct[2] = @color3
     direct[3] = @color4
     direct[4] = @color5
     direct[5] = @color6
     direct[6] = @color7
     direct[7] = @color8
   endfunc
 
 default:
   title = "Sunset Array"
   int param v_Sunset
     caption = "Version (Sunset Colors)"
     default = 100
     hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used."
     visible = @v_Sunset < 100
   endparam  
   color param color1
     caption = "Color 1"
     default = rgba(252/255,208/255,244/255,1)
   endparam
   color param color2
     caption = "Color 2"
     default = rgba(252/255,37/255,69/255,1)
   endparam
   color param color3
     caption = "Color 3"
     default = rgba(240/255,220/255,40/255,1)
   endparam
   color param color4
     caption = "Color 4"
     default = rgba(109/255,104/255,206/255,1)
   endparam
   color param color5
     caption = "Color 5"
     default = rgba(252/255,200/255,228/255,1)
   endparam
   color param color6
     caption = "Color 6"
     default = rgba(252/255,132/255,156/255,1)
   endparam
   color param color7
     caption = "Color 7"
     default = rgba(45/255,80/255,219/255,1)
   endparam
   color param color8
     caption = "Color 8"
     default = rgba(97/255,24/255,74/255,1)
   endparam
 }
 


Constructor Summary
REB_Sunset()
           
REB_Sunset(Generic pparent)
          constructor
 
Method Summary
 void Init()
           
 
Methods inherited from class common:Generic
GetParent
 
Methods inherited from class Object
 

Constructor Detail

REB_Sunset

public REB_Sunset(Generic pparent)
constructor


REB_Sunset

public REB_Sunset()
Method Detail

Init

public void Init()
Overrides:
Init in class REB_DirectColorHelper