Class: OpenStudio::Color
- Inherits:
-
Object
- Object
- OpenStudio::Color
- Defined in:
- lib/openstudio-api-stubs/Classes/Color.rb
Class Method Summary collapse
- .colorNames ⇒ SWIGTYPE_p_QStringList
- .fromCmyk(*args) ⇒ Color
- .fromHsv(*args) ⇒ Color
- .fromRgb(*args) ⇒ Color
- .new(*args) ⇒ Object
Instance Method Summary collapse
- #alpha ⇒ Int32
- #alphaF ⇒ Double
- #black ⇒ Int32
- #blue ⇒ Int32
- #convertTo(spec) ⇒ Color
- #cyan ⇒ Int32
- #dark(*args) ⇒ Color
- #darker(*args) ⇒ Color
- #Equal(*args) ⇒ Color
- #EqualEqual(color) ⇒ Boolean
- #getCmyk(*args) ⇒ Object
- #getHsv(*args) ⇒ Object
- #getRgb(*args) ⇒ Object
- #green ⇒ Int32
- #hue ⇒ Int32
- #isValid ⇒ Boolean
- #light(*args) ⇒ Color
- #lighter(*args) ⇒ Color
- #magenta ⇒ Int32
- #name ⇒ QString
- #NotEqual(color) ⇒ Boolean
- #red ⇒ Int32
- #saturation ⇒ Int32
- #setAlpha(int32) ⇒ Object
- #setAlphaF(sWIGTYPE_p_qreal) ⇒ Object
- #setBlue(int32) ⇒ Object
- #setCmyk(*args) ⇒ Object
- #setGreen(int32) ⇒ Object
- #setHsv(*args) ⇒ Object
- #setNamedColor(qString) ⇒ Object
- #setRed(int32) ⇒ Object
- #setRgb(*args) ⇒ Object
- #spec ⇒ Spec
- #toCmyk ⇒ Color
- #toHsv ⇒ Color
- #toRgb ⇒ Color
- #value ⇒ Int32
- #yellow ⇒ Int32
Class Method Details
.colorNames ⇒ SWIGTYPE_p_QStringList
15 16 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 15 def self.colorNames end |
.fromCmyk(*args) ⇒ Color
103 104 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 103 def self.fromCmyk(*args) end |
.fromHsv(*args) ⇒ Color
100 101 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 100 def self.fromHsv(*args) end |
.fromRgb(*args) ⇒ Color
97 98 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 97 def self.fromRgb(*args) end |
.new(*args) ⇒ Object
4 5 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 4 def self.new(*args) end |
Instance Method Details
#alpha ⇒ Int32
21 22 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 21 def alpha end |
#alphaF ⇒ Double
26 27 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 26 def alphaF end |
#black ⇒ Int32
64 65 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 64 def black end |
#blue ⇒ Int32
37 38 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 37 def blue end |
#convertTo(spec) ⇒ Color
76 77 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 76 def convertTo(spec) end |
#cyan ⇒ Int32
55 56 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 55 def cyan end |
#dark(*args) ⇒ Color
112 113 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 112 def dark(*args) end |
#darker(*args) ⇒ Color
115 116 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 115 def darker(*args) end |
#Equal(*args) ⇒ Color
118 119 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 118 def Equal(*args) end |
#EqualEqual(color) ⇒ Boolean
79 80 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 79 def EqualEqual(color) end |
#getCmyk(*args) ⇒ Object
92 93 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 92 def getCmyk(*args) end |
#getHsv(*args) ⇒ Object
88 89 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 88 def getHsv(*args) end |
#getRgb(*args) ⇒ Object
84 85 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 84 def getRgb(*args) end |
#green ⇒ Int32
34 35 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 34 def green end |
#hue ⇒ Int32
46 47 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 46 def hue end |
#isValid ⇒ Boolean
7 8 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 7 def isValid end |
#light(*args) ⇒ Color
106 107 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 106 def light(*args) end |
#lighter(*args) ⇒ Color
109 110 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 109 def lighter(*args) end |
#magenta ⇒ Int32
58 59 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 58 def magenta end |
#NotEqual(color) ⇒ Boolean
82 83 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 82 def NotEqual(color) end |
#red ⇒ Int32
31 32 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 31 def red end |
#saturation ⇒ Int32
49 50 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 49 def saturation end |
#setAlpha(int32) ⇒ Object
23 24 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 23 def setAlpha(int32) end |
#setAlphaF(sWIGTYPE_p_qreal) ⇒ Object
28 29 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 28 def setAlphaF(sWIGTYPE_p_qreal) end |
#setBlue(int32) ⇒ Object
43 44 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 43 def setBlue(int32) end |
#setCmyk(*args) ⇒ Object
94 95 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 94 def setCmyk(*args) end |
#setGreen(int32) ⇒ Object
41 42 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 41 def setGreen(int32) end |
#setHsv(*args) ⇒ Object
90 91 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 90 def setHsv(*args) end |
#setNamedColor(qString) ⇒ Object
12 13 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 12 def setNamedColor(qString) end |
#setRed(int32) ⇒ Object
39 40 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 39 def setRed(int32) end |
#setRgb(*args) ⇒ Object
86 87 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 86 def setRgb(*args) end |
#spec ⇒ Spec
18 19 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 18 def spec end |
#value ⇒ Int32
52 53 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 52 def value end |
#yellow ⇒ Int32
61 62 |
# File 'lib/openstudio-api-stubs/Classes/Color.rb', line 61 def yellow end |