Exemple #1
0
        public static PeakRendererData Create(PeakRenderer renderer, int width, int height, Orientation orientation)
        {
            var data = new PeakRendererData()
            {
                Renderer    = renderer,
                Width       = width,
                Height      = height,
                Orientation = orientation
            };

            return(data);
        }
Exemple #2
0
 public static void SetOrientation(PeakRenderer source, Orientation value)
 {
     source.SetValue(OrientationProperty, value);
 }
Exemple #3
0
 public static Orientation GetOrientation(PeakRenderer source)
 {
     return((Orientation)source.GetValue(OrientationProperty));
 }