Method Bounds
Bounds(double, double, double, double)
Creates emitter bounds for a specific rectangular area.
public static SKConfettiEmitterBounds Bounds(double x, double y, double width, double height)
Parameters
xdoubleThe x-coordinate of the bounds.
ydoubleThe y-coordinate of the bounds.
widthdoubleThe width of the bounds.
heightdoubleThe height of the bounds.
Returns
- SKConfettiEmitterBounds
A new SKConfettiEmitterBounds for the specified area.
Bounds(Rect)
Creates emitter bounds for a specific rectangle.
public static SKConfettiEmitterBounds Bounds(Rect rect)
Parameters
rectRectThe emission bounds rectangle.
Returns
- SKConfettiEmitterBounds
A new SKConfettiEmitterBounds for the specified rectangle.