コード例 #1
0
 public RotateActionModel(TimeLineModel timeLine, string targetKey, double originX, double originY, double angle, bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     OriginX = originX;
     OriginY = originY;
     Angle   = angle;
 }
コード例 #2
0
 public ZoomActionModel(TimeLineModel timeLine, string targetKey,
                        double originX, double originY, double scaleX, double scaleY, bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     OriginX = originX;
     OriginY = originY;
     ScaleX  = scaleX;
     ScaleY  = scaleY;
 }
コード例 #3
0
 public BrushLinearActionModel(TimeLineModel timeLine, string targetKey, Entities.PointModel start,
                               Entities.PointModel end, PageItems.Brushes.LinearGradientBrushModel.Spread spread,
                               bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     Start        = start;
     End          = end;
     SpreadMethod = spread;
 }
コード例 #4
0
 public BrushViewBoxActionModel(TimeLineModel timeLine, string targetKey, Entities.RectangleModel viewBox,
                                Entities.RectangleModel viewPort, PageItems.Brushes.ImageBrushModel.TileType tileMode,
                                bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     ViewBox  = viewBox;
     ViewPort = viewPort;
     TileMode = tileMode;
 }
コード例 #5
0
 public BrushRadialActionModel(TimeLineModel timeLine, string targetKey, Entities.PointModel center,
                               Entities.PointModel origin, double?radiusX, double?radiusY,
                               bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     Center  = center;
     Origin  = origin;
     RadiusX = radiusX;
     RadiusY = radiusY;
 }
コード例 #6
0
 public SetVisibilityActionModel(TimeLineModel timeLine, string key, bool visible, double?opacity, bool mustAnimate)
     : base(timeLine, key, mustAnimate)
 {
     if (opacity == null)
     {
         if (visible)
         {
             Opacity = 1;
         }
         else
         {
             Opacity = 0;
         }
     }
     else
     {
         Opacity = opacity ?? 1;
     }
 }
コード例 #7
0
 public TranslateActionModel(TimeLineModel timeLine, string targetKey, double?top, double?left, bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     Top  = top;
     Left = left;
 }
コード例 #8
0
 public PathActionModel(TimeLineModel timeLine, string targetKey, string path, bool rotateWithTangent, bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     Path = path;
     RotateWithTangent = rotateWithTangent;
 }
コード例 #9
0
 public ActionBaseModel(TimeLineModel timeLine, string targetKey, bool mustAnimate)
 {
     TimeLine    = timeLine;
     TargetKey   = targetKey;
     MustAnimate = mustAnimate;
 }
コード例 #10
0
 public SetZIndexModel(TimeLineModel timeLine, string key, bool mustAnimate, int intZIndex)
     : base(timeLine, key, mustAnimate)
 {
     ZIndex = intZIndex;
 }
コード例 #11
0
 public ResizeActionModel(TimeLineModel timeLine, string targetKey, double?width, double?height, bool mustAnimate)
     : base(timeLine, targetKey, mustAnimate)
 {
     Width  = width;
     Height = height;
 }