Difference between revisions of "ColorComponent Script"
m
changed param format.
imported>CraftySentinel m (Forgot a :) |
imported>CraftySentinel m (changed param format.) |
||
Line 19: | Line 19: | ||
!style="text-align:left;"|Description | !style="text-align:left;"|Description | ||
|- | |- | ||
|[[GetAlpha - ColorComponent|Int '''GetAlpha'''('' | |[[GetAlpha - ColorComponent|Int '''GetAlpha'''(Int ''argb'')]] | ||
||Gets the Alpha component Value from the specified Alpha-Red-Green-Blue(ARGB) code. | ||Gets the Alpha component Value from the specified Alpha-Red-Green-Blue(ARGB) code. | ||
|- | |- | ||
|[[GetRed - ColorComponent|Int '''GetRed'''('' | |[[GetRed - ColorComponent|Int '''GetRed'''(Int ''argb'')]] | ||
|Gets the Red component value from the specified ARGB color code. | |Gets the Red component value from the specified ARGB color code. | ||
|- | |- | ||
|[[GetGreen - ColorComponent|Int '''GetGreen'''('' | |[[GetGreen - ColorComponent|Int '''GetGreen'''(Int ''argb'')]] | ||
|Gets the Green component value of the specified ARGB color code. | |Gets the Green component value of the specified ARGB color code. | ||
|- | |- | ||
|[[GetBlue - ColorComponent|Int '''GetBlue'''('' | |[[GetBlue - ColorComponent|Int '''GetBlue'''(Int ''argb'')]] | ||
|Gets the Blue component value of the specified ARGB color code. | |Gets the Blue component value of the specified ARGB color code. | ||
|- | |- | ||
|[[GetHue - ColorComponent|Float '''GetHue'''('' | |[[GetHue - ColorComponent|Float '''GetHue'''(Int ''argb'')]] | ||
||Gets the Hue value of the specified ARGB, ranging from 0.0 to 360.0. | ||Gets the Hue value of the specified ARGB, ranging from 0.0 to 360.0. | ||
|- | |- | ||
|[[GetSaturation - ColorComponent|Float '''GetSaturation'''('' | |[[GetSaturation - ColorComponent|Float '''GetSaturation'''(Int ''argb'')]] | ||
|Gets the Saturation value of the specified ARGB color code. | |Gets the Saturation value of the specified ARGB color code. | ||
|- | |- | ||
|[[GetValue - ColorComponent|Float '''GetValue'''('' | |[[GetValue - ColorComponent|Float '''GetValue'''(Int ''argb'')]] | ||
|Gets the Value of the specified ARGB color code, Value is also known as Brightness or Luminosity. | |Gets the Value of the specified ARGB color code, Value is also known as Brightness or Luminosity. | ||
|- | |- | ||
|[[SetAlpha - ColorComponent|Int '''SetAlpha'''('' | |[[SetAlpha - ColorComponent|Int '''SetAlpha'''(Int ''argb'', Int ''a'')]] | ||
|Sets the Alpha component value of the specified ARGB color code to the specified amount. | |Sets the Alpha component value of the specified ARGB color code to the specified amount. | ||
|- | |- | ||
|[[SetRed - ColorComponent|Int '''SetRed'''('' | |[[SetRed - ColorComponent|Int '''SetRed'''(Int ''argb'', Int ''r'')]] | ||
|Sets the Red component value of the specified ARGB color code to the specified amount. | |Sets the Red component value of the specified ARGB color code to the specified amount. | ||
|- | |- | ||
|[[SetGreen - ColorComponent|Int '''SetGreen'''('' | |[[SetGreen - ColorComponent|Int '''SetGreen'''(Int ''argb'', Int ''g'')]] | ||
|Sets the Green component value of the specified ARGB color code to the specified amount. | |Sets the Green component value of the specified ARGB color code to the specified amount. | ||
|- | |- | ||
|[[SetBlue - ColorComponent|Int '''SetBlue'''('' | |[[SetBlue - ColorComponent|Int '''SetBlue'''(Int ''argb'', Int ''b'')]] | ||
|Sets the Blue component value of the specified ARGB color code to the specified amount. | |Sets the Blue component value of the specified ARGB color code to the specified amount. | ||
|- | |- | ||
|[[SetHue - ColorComponent|Int '''SetHue'''('' | |[[SetHue - ColorComponent|Int '''SetHue'''(Int ''argb'', Float ''h'')]] | ||
|Sets the Hue value of the specified ARGB color code to the specified value. | |Sets the Hue value of the specified ARGB color code to the specified value. | ||
|- | |- | ||
|[[SetSaturation - ColorComponent|Int '''SetSaturation'''('' | |[[SetSaturation - ColorComponent|Int '''SetSaturation'''(Int ''argb'', Float ''s'')]] | ||
|Sets the Saturation value of the specified ARGB color code to the specified value. | |Sets the Saturation value of the specified ARGB color code to the specified value. | ||
|- | |- | ||
|[[SetValue - ColorComponent|Int '''SetValue'''('' | |[[SetValue - ColorComponent|Int '''SetValue'''(Int ''argb'', Float ''v'')]] | ||
|Sets the Value (Brightness) of the specified ARGB color code to the specified value. | |Sets the Value (Brightness) of the specified ARGB color code to the specified value. | ||