public StiPathGeom(object background, StiPenGeom pen, List <StiSegmentGeom> geoms, object rect)
 {
     this.Background = background;
     this.Pen        = pen;
     this.Geoms      = geoms;
     this.Rect       = rect;
 }
 public StiCurveAnimationGeom(StiPenGeom pen, PointF[] points, float tension, TimeSpan duration, TimeSpan?beginTime)
     : base(duration, beginTime)
 {
     this.Pen     = pen;
     this.Points  = points;
     this.Tension = tension;
 }
 public StiEllipseAnimationGeom(object background, StiPenGeom borderPen, object rect)
     : base(TimeSpan.FromMilliseconds(0), TimeSpan.FromMilliseconds(0))
 {
     this.Background = background;
     this.BorderPen  = borderPen;
     this.Rect       = rect;
 }
 public StiLineGeom(StiPenGeom pen, float x1, float y1, float x2, float y2)
 {
     this.Pen = pen;
     this.X1  = x1;
     this.Y1  = y1;
     this.X2  = x2;
     this.Y2  = y2;
 }
Beispiel #5
0
        public StiLinesAnimationGeom(StiPenGeom pen, PointF[] points, TimeSpan duration, TimeSpan?beginTime, StiAnimationType animationType)
            : base(duration, beginTime)
        {
            this.Pen    = pen;
            this.Points = points;

            this.AnimationType = animationType;
        }
Beispiel #6
0
 public StiPathAnimationGeom(object background, StiPenGeom pen, List <StiSegmentGeom> geoms, object rect, TimeSpan duration, TimeSpan?beginTime, object tag)
     : base(duration, beginTime)
 {
     this.Background = background;
     this.Pen        = pen;
     this.Geoms      = geoms;
     this.Rect       = rect;
     this.Tag        = tag;
 }
        public StiBorderAnimationGeom(object background, StiPenGeom borderPen, object rect, TimeSpan duration, TimeSpan?beginTime, StiAnimationType animationType) :
            base(duration, beginTime)
        {
            this.Background = background;
            this.BorderPen  = borderPen;
            this.Rect       = rect;

            this.AnimationType = animationType;
        }
 public StiPathElementAnimationGeom(object background, StiPenGeom borderPen, List <StiSegmentGeom> pathGeoms, object rect, TimeSpan duration, TimeSpan?beginTime, string toolTip, object tag)
     : base(duration, beginTime)
 {
     this.Background = background;
     this.BorderPen  = borderPen;
     this.Rect       = rect;
     this.PathGeoms  = pathGeoms;
     this.ToolTip    = toolTip;
     this.Tag        = tag;
 }
 public StiEllipseAnimationGeom(object background, StiPenGeom borderPen, object rect, TimeSpan duration, TimeSpan?beginTime, StiAnimationType animationType, string toolTip, object tag)
     : base(duration, beginTime)
 {
     this.Background    = background;
     this.BorderPen     = borderPen;
     this.Rect          = rect;
     this.AnimationType = animationType;
     this.ToolTip       = toolTip;
     this.Tag           = tag;
 }
 public StiClusteredBarSeriesAnimationGeom(object background, StiPenGeom borderPen, object rect, TimeSpan duration, TimeSpan?beginTime, bool upMove, string toolTip, object tag) :
     base(duration, beginTime)
 {
     this.Background = background;
     this.BorderPen  = borderPen;
     this.Rect       = rect;
     this.UpMove     = upMove;
     this.ToolTip    = toolTip;
     this.Tag        = tag;
 }
 public StiLabelAnimationGeom(string text, StiFontGeom font, object textBrush, object LabelBrush, StiPenGeom penBorder, Rectangle rect, StiStringFormatGeom sf, StiRotationMode rotationMode,
                              float angle, bool drawBorder, TimeSpan duration, TimeSpan?beginTime) : base(duration, beginTime)
 {
     this.Text         = text;
     this.Font         = font;
     this.TextBrush    = textBrush;
     this.LabelBrush   = LabelBrush;
     this.PenBorder    = penBorder;
     this.Rectangle    = rect;
     this.StringFormat = sf;
     this.RotationMode = rotationMode;
     this.Angle        = angle;
     this.DrawBorder   = drawBorder;
 }
Beispiel #12
0
        public void DrawLines(StiPenGeom pen, PointF[] points)
        {
            #region Propection from NaN values
            for (int index = 0; index < points.Length; index++)
            {
                PointF pos = points[index];

                if (double.IsNaN(pos.X))
                {
                    pos.X = 0;
                }
                if (double.IsNaN(pos.Y))
                {
                    pos.Y = 0;
                }

                points[index] = pos;
            }
            #endregion

            geoms.Add(new StiLinesGeom(pen, points));
        }
Beispiel #13
0
 public StiBorderGeom(object background, StiPenGeom borderPen, object rect)
 {
     this.Background = background;
     this.BorderPen  = borderPen;
     this.Rect       = rect;
 }
Beispiel #14
0
 public void DrawAnimationLines(StiPenGeom pen, PointF[] points, TimeSpan duration, TimeSpan?beginTime, StiAnimationType animationType)
 {
     geoms.Add(new StiLinesAnimationGeom(pen, points, duration, beginTime, animationType));
 }
Beispiel #15
0
 public StiCurveGeom(StiPenGeom pen, PointF[] points, float tension)
 {
     this.Pen     = pen;
     this.Tension = tension;
     this.Points  = points;
 }
Beispiel #16
0
 public void DrawRectangle(StiPenGeom pen, Rectangle rect)
 {
     geoms.Add(new StiBorderGeom(null, pen, rect));
 }
Beispiel #17
0
 public void DrawLine(StiPenGeom pen, float x1, float y1, float x2, float y2)
 {
     geoms.Add(new StiLineGeom(pen, x1, y1, x2, y2));
 }
Beispiel #18
0
 public void FillDrawAnimationEllipse(object brush, StiPenGeom pen, float x, float y, float width, float height, TimeSpan durationOpacity, TimeSpan?beginTimeOpacity, StiAnimationType animationType, string toolTip, object tag)
 {
     geoms.Add(new StiEllipseAnimationGeom(brush, pen, new RectangleF(x, y, width, height), durationOpacity, beginTimeOpacity, animationType, toolTip, tag));
 }
Beispiel #19
0
 public void FillDrawAnimationPath(object brush, StiPenGeom pen, List <StiSegmentGeom> path, object rect, TimeSpan durationOpacity, TimeSpan?beginTimeOpacity, object tag)
 {
     geoms.Add(new StiPathAnimationGeom(brush, pen, path, rect, durationOpacity, beginTimeOpacity, tag));
 }
Beispiel #20
0
 public void DrawAnimationCurve(StiPenGeom pen, PointF[] points, float tension, TimeSpan duration, TimeSpan?beginTime)
 {
     geoms.Add(new StiCurveAnimationGeom(pen, points, tension, duration, beginTime));
 }
Beispiel #21
0
 public void DrawAnimationPathElement(object brush, StiPenGeom borderPen, List <StiSegmentGeom> path, object rect, TimeSpan duration, TimeSpan?beginTime, string toolTip, object tag)
 {
     geoms.Add(new StiPathElementAnimationGeom(brush, borderPen, path, rect, duration, beginTime, toolTip, tag));
 }
Beispiel #22
0
 public void DrawAnimationRectangle(object brush, StiPenGeom pen, Rectangle rect, TimeSpan duration, TimeSpan?beginTime)
 {
     geoms.Add(new StiBorderAnimationGeom(brush, pen, rect, duration, beginTime, StiAnimationType.Opacity));
 }
Beispiel #23
0
 public void DrawEllipse(StiPenGeom pen, RectangleF rect)
 {
     geoms.Add(new StiEllipseGeom(null, pen, rect));
 }
Beispiel #24
0
 public void DrawAnimationBar(object brush, StiPenGeom borderPen, object rect, TimeSpan duration, TimeSpan?beginTime, bool upMove, string toolTip, object tag)
 {
     geoms.Add(new StiClusteredBarSeriesAnimationGeom(brush, borderPen, rect, duration, beginTime, upMove, toolTip, tag));
 }
Beispiel #25
0
 public void DrawPath(StiPenGeom pen, List <StiSegmentGeom> path, object rect)
 {
     geoms.Add(new StiPathGeom(null, pen, path, rect));
 }
Beispiel #26
0
 public StiLinesGeom(StiPenGeom pen, PointF[] points)
 {
     this.Pen    = pen;
     this.Points = points;
 }
Beispiel #27
0
 public void DrawCurve(StiPenGeom pen, PointF[] points, float tension)
 {
     geoms.Add(new StiCurveGeom(pen, points, tension));
 }
Beispiel #28
0
 public void DrawEllipse(StiPenGeom pen, float x, float y, float width, float height)
 {
     geoms.Add(new StiEllipseGeom(null, pen, new RectangleF(x, y, width, height)));
 }
Beispiel #29
0
 public void DrawAnimationLabel(string text, StiFontGeom font, object textBrush, object labelBrush, StiPenGeom penBorder, Rectangle rect, StiStringFormatGeom sf, StiRotationMode mode,
                                float angle, bool drawBorder, TimeSpan duration, TimeSpan?beginTime)
 {
     geoms.Add(new StiLabelAnimationGeom(text, font, textBrush, labelBrush, penBorder, rect, sf, mode, angle, drawBorder, duration, beginTime));
 }