FireworkExplosion
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Implements
Undocumented Interfaces
TooltipProvider
Members
Getter
Gets the colors of the FireworkExplosion.
Return Type:
List<Integer>
Getter
Gets the fade colors of the FireworkExplosion.
Return Type:
List<Integer>
Getter
Gets whether the FireworkExplosion has a trail.
Return Type:
bool
Getter
Gets whether the FireworkExplosion has twinkle.
Return Type:
bool
static of(shape as Shape, colors as List<Integer>, fadeColors as List<Integer>, hasTrail as bool, hasTwinkle as bool) as FireworkExplosion
Creates a new FireworkExplosion with the given shape, colors, fade colors, whether it has a trail, and whether it has twinkle.
Returns: The new FireworkExplosion.
Parameters:
colors: List<Integer>
Type: List<Integer>
- The colors of the FireworkExplosion. fadeColors: List<Integer>
Type: List<Integer>
- The fade colors of the FireworkExplosion. hasTrail: bool
Type: bool
- Whether the FireworkExplosion has a trail. hasTwinkle: bool
Type: bool
- Whether the FireworkExplosion has twinkle.
Return Type:
FireworkExplosion
Getter
Gets the shape of the FireworkExplosion.
Return Type:
FireworkExplosionShape
withFadeColors(colors as List<Integer>) as FireworkExplosion
Sets the fade colors of the FireworkExplosion.
Returns: The FireworkExplosion with the new fade colors.
Parameters:
colors: List<Integer>
Type: List<Integer>
- The fade colors of the FireworkExplosion.
Return Type:
FireworkExplosion