using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Venus_Themes.UserControls
{
    /// <summary>
    /// Pipe.xaml 的交互逻辑
    /// </summary>
    public partial class Pipe : UserControl
    {
        public Pipe()
        {
            InitializeComponent();
        }
        public static readonly DependencyProperty IsFlowingProperty = DependencyProperty.Register(
         "IsFlowing", typeof(bool), typeof(Pipe),
         new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));



        public static readonly DependencyProperty IsReverseProperty = DependencyProperty.Register(
            "IsReverse", typeof(bool), typeof(Pipe),
            new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsRender));



        public bool IsFlowing
        {
            get { return (bool)this.GetValue(IsFlowingProperty); }
            set { this.SetValue(IsFlowingProperty, value); }
        }





        public bool IsReverse
        {
            get
            {
                return (bool)this.GetValue(IsReverseProperty);
            }
            set
            {
                this.SetValue(IsReverseProperty, value);
            }
        }

        public bool IsVertical { get; set; }


        protected override void OnRender(DrawingContext drawingContext)
        {
            base.OnRender(drawingContext);

        }
    }
}