public void CanParseSideValues(string value, SKConfettiEmitterSide side) { var converter = new SKConfettiEmitterBoundsTypeConverter(); var result = converter.ConvertFromInvariantString(value); var bounds = Assert.IsType <SKConfettiEmitterBounds>(result); Assert.Equal(side, bounds.Side); Assert.Equal(Rect.Zero, bounds.Rect); }
public SKConfettiEmitterBounds(SKConfettiEmitterSide side) : this(Rect.Zero, side) { }
private SKConfettiEmitterBounds(Rect rect, SKConfettiEmitterSide side) { Rect = rect; Side = side; }
public ParticleEmitterBounds(SKConfettiEmitterSide side) : this(SKRect.Empty, side) { }
private ParticleEmitterBounds(SKRect rect, SKConfettiEmitterSide side) { Rect = rect; Side = side; }