Class: Fox::FXGradient

Inherits:
Object
  • Object
show all
Defined in:
rdoc-sources/FXGradientBar.rb

Overview

An FXGradientBar widget is defined in part by its array of “segments”, each of which is an FXGradient instance. An FXGradient instance defines the properties of one segment, namely, the lower, middle and upper values (all Floats); the lower and upper color values; and the blending mode for the segment.

Instance Attribute Summary collapse

Instance Attribute Details

#blendObject

Blend mode [Integer]



26
27
28
# File 'rdoc-sources/FXGradientBar.rb', line 26

def blend
  @blend
end

#lowerObject

Lower value [Float]



11
12
13
# File 'rdoc-sources/FXGradientBar.rb', line 11

def lower
  @lower
end

#lowerColorObject

Lower color Fox::FXColor



20
21
22
# File 'rdoc-sources/FXGradientBar.rb', line 20

def lowerColor
  @lowerColor
end

#middleObject

Middle value [Float]



14
15
16
# File 'rdoc-sources/FXGradientBar.rb', line 14

def middle
  @middle
end

#upperObject

Upper value [Float]



17
18
19
# File 'rdoc-sources/FXGradientBar.rb', line 17

def upper
  @upper
end

#upperColorObject

Upper color Fox::FXColor



23
24
25
# File 'rdoc-sources/FXGradientBar.rb', line 23

def upperColor
  @upperColor
end