Struct SKConfettiEmitterBounds
Defines the bounds from which a confetti emitter spawns particles.
[TypeConverter(typeof(SKConfettiEmitterBoundsTypeConverter))]
public readonly struct SKConfettiEmitterBounds
- Inherited Members
Constructors
- SKConfettiEmitterBounds(Point)
Initializes a new instance of the SKConfettiEmitterBounds struct for a specific point.
- SKConfettiEmitterBounds(Rect)
Initializes a new instance of the SKConfettiEmitterBounds struct for a specific rectangle.
- SKConfettiEmitterBounds(SKConfettiEmitterSide)
Initializes a new instance of the SKConfettiEmitterBounds struct for the specified side.
- SKConfettiEmitterBounds(double, double)
Initializes a new instance of the SKConfettiEmitterBounds struct for a specific point.
- SKConfettiEmitterBounds(double, double, double, double)
Initializes a new instance of the SKConfettiEmitterBounds struct for a specific rectangular area.
Properties
- Bottom
Gets emitter bounds that emit from the bottom side of the view.
- Center
Gets emitter bounds that emit from the center of the view.
- Left
Gets emitter bounds that emit from the left side of the view.
- Rect
Gets the rectangle defining the emission area.
- Right
Gets emitter bounds that emit from the right side of the view.
- Side
Gets the side from which particles are emitted.
- Top
Gets emitter bounds that emit from the top side of the view.
Methods
- Bounds(Rect)
Creates emitter bounds for a specific rectangle.
- Bounds(double, double, double, double)
Creates emitter bounds for a specific rectangular area.
- Point(Point)
Creates emitter bounds for a specific point.
- Point(double, double)
Creates emitter bounds for a specific point.
Operators
- implicit operator SKConfettiEmitterBounds(Point)
Converts a Point to an SKConfettiEmitterBounds.
- implicit operator SKConfettiEmitterBounds(Rect)
Converts a Rect to an SKConfettiEmitterBounds.