Color
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Static Methods
Return Type: Color
Parameter | Type |
---|---|
Parameter color | Type int |
Return Type: Color
Parameter | Type |
---|---|
Parameter color | Type int |
Return Type: Color
Parameter | Type |
---|---|
Parameter r | Type int |
Parameter g | Type int |
Parameter b | Type int |
Return Type: Color
Parameter | Type |
---|---|
Parameter r | Type int |
Parameter g | Type int |
Parameter b | Type int |
Parameter a | Type int |
Properties
Name | Type | Has Getter | Has Setter |
---|---|---|---|
Name a | Type int | Has Getter true | Has Setter false |
Name b | Type int | Has Getter true | Has Setter false |
Name g | Type int | Has Getter true | Has Setter false |
Name r | Type int | Has Getter true | Has Setter false |