public static T StrokeDashOffset <T>(this T shape, double strokeDashOffset, RxDoubleAnimation customAnimation = null) where T : IRxShape
 {
     shape.StrokeDashOffset = strokeDashOffset;
     shape.AppendAnimatable(Shape.StrokeDashOffsetProperty, customAnimation ?? new RxDoubleAnimation(strokeDashOffset), v => shape.StrokeDashOffset = v.CurrentValue());
     return(shape);
 }
 public static T MinimumHeightRequest <T>(this T visualelement, double minimumHeightRequest, RxDoubleAnimation customAnimation = null) where T : IRxVisualElement
 {
     visualelement.MinimumHeightRequest = minimumHeightRequest;
     visualelement.AppendAnimatable(VisualElement.MinimumHeightRequestProperty, customAnimation ?? new RxDoubleAnimation(minimumHeightRequest), v => visualelement.MinimumHeightRequest = v.CurrentValue());
     return(visualelement);
 }
 public static T StrokeThickness <T>(this T shape, double strokeThickness, RxDoubleAnimation customAnimation = null) where T : IRxShape
 {
     shape.StrokeThickness = strokeThickness;
     shape.AppendAnimatable(Shape.StrokeThicknessProperty, customAnimation ?? new RxDoubleAnimation(strokeThickness), v => shape.StrokeThickness = v.CurrentValue());
     return(shape);
 }
 public static T ScaleY <T>(this T visualelement, double scaleY, RxDoubleAnimation customAnimation = null) where T : IRxVisualElement
 {
     visualelement.ScaleY = scaleY;
     visualelement.AppendAnimatable(VisualElement.ScaleYProperty, customAnimation ?? new RxDoubleAnimation(scaleY), v => visualelement.ScaleY = v.CurrentValue());
     return(visualelement);
 }
 public static T Opacity <T>(this T visualelement, double opacity, RxDoubleAnimation customAnimation = null) where T : IRxVisualElement
 {
     visualelement.Opacity = opacity;
     visualelement.AppendAnimatable(VisualElement.OpacityProperty, customAnimation ?? new RxDoubleAnimation(opacity), v => visualelement.Opacity = v.CurrentValue());
     return(visualelement);
 }
 public static T TranslationX <T>(this T visualelement, double translationX, RxDoubleAnimation customAnimation = null) where T : IRxVisualElement
 {
     visualelement.TranslationX = translationX;
     visualelement.AppendAnimatable(VisualElement.TranslationXProperty, customAnimation ?? new RxDoubleAnimation(translationX), v => visualelement.TranslationX = v.CurrentValue());
     return(visualelement);
 }
 public static T RotationY <T>(this T visualelement, double rotationY, RxDoubleAnimation customAnimation = null) where T : IRxVisualElement
 {
     visualelement.RotationY = rotationY;
     visualelement.AppendAnimatable(VisualElement.RotationYProperty, customAnimation ?? new RxDoubleAnimation(rotationY), v => visualelement.RotationY = v.CurrentValue());
     return(visualelement);
 }
 public static T AnchorY <T>(this T visualelement, double anchorY, RxDoubleAnimation customAnimation = null) where T : IRxVisualElement
 {
     visualelement.AnchorY = anchorY;
     visualelement.AppendAnimatable(VisualElement.AnchorYProperty, customAnimation ?? new RxDoubleAnimation(anchorY), v => visualelement.AnchorY = v.CurrentValue());
     return(visualelement);
 }
Exemple #9
0
 public static T RadiusY <T>(this T ellipsegeometry, double radiusY, RxDoubleAnimation customAnimation = null) where T : IRxEllipseGeometry
 {
     ellipsegeometry.RadiusY = radiusY;
     ellipsegeometry.AppendAnimatable(EllipseGeometry.RadiusYProperty, customAnimation ?? new RxDoubleAnimation(radiusY), v => ellipsegeometry.RadiusY = v.CurrentValue());
     return(ellipsegeometry);
 }
Exemple #10
0
 public static T Y2 <T>(this T line, double y2, RxDoubleAnimation customAnimation = null) where T : IRxLine
 {
     line.Y2 = y2;
     line.AppendAnimatable(Line.Y2Property, customAnimation ?? new RxDoubleAnimation(y2), v => line.Y2 = v.CurrentValue());
     return(line);
 }
Exemple #11
0
 public static T Y1 <T>(this T line, double y1, RxDoubleAnimation customAnimation = null) where T : IRxLine
 {
     line.Y1 = y1;
     line.AppendAnimatable(Line.Y1Property, customAnimation ?? new RxDoubleAnimation(y1), v => line.Y1 = v.CurrentValue());
     return(line);
 }
Exemple #12
0
 public static T RadiusY <T>(this T rectangle, double radiusY, RxDoubleAnimation customAnimation = null) where T : IRxRectangle
 {
     rectangle.RadiusY = radiusY;
     rectangle.AppendAnimatable(Xamarin.Forms.Shapes.Rectangle.RadiusYProperty, customAnimation ?? new RxDoubleAnimation(radiusY), v => rectangle.RadiusY = v.CurrentValue());
     return(rectangle);
 }