Constructor
new ScreenCreditController()
Constructs a screen credit controller.
- Source:
Methods
addImageCredit(imageUrl)
Adds an image credit to this controller.
Parameters:
Name | Type | Description |
---|---|---|
imageUrl |
String | The URL of the image to display in the credits area. |
- Source:
Throws:
-
If the specified URL is null or undefined.
- Type
- ArgumentError
addStringCredit(stringCredit, (Color})
Adds a string credit to this controller.
Parameters:
Name | Type | Description |
---|---|---|
stringCredit |
String | The string to display in the credits area. |
(Color} |
color The color with which to draw the string. |
- Source:
Throws:
-
If either the specified string or color is null or undefined.
- Type
- ArgumentError
clear()
Clears all credits from this controller.
- Source: