Difference between revisions of "ColorComponent Script"

112 bytes added ,  00:03, 5 September 2013
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'''(''Int'')]]
|[[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'''(''Int)'']]
|[[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'''(''Int'')]]
|[[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'''(''Int'')]]
|[[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'''(''Int'')]]
|[[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'''(''Int'')]]
|[[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'''(''Int'')]]
|[[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'''(''Int, Int'')]]
|[[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'''(''Int, Int'')]]
|[[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'''(''Int, Int'')]]
|[[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'''(''Int, Int'')]]
|[[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'''(''Int, Float'')]]
|[[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'''(''Int, Float'')]]
|[[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'''(''Int, Float'')]]
|[[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.