コード例 #1
0
ファイル: BorderData.cs プロジェクト: priyanr/Vixen
        protected override EffectTypeModuleData CreateInstanceForClone()
        {
            BorderData result = new BorderData
            {
                Orientation          = Orientation,
                LevelCurve           = new Curve(LevelCurve),
                ThicknessCurve       = new Curve(ThicknessCurve),
                TopThicknessCurve    = new Curve(TopThicknessCurve),
                BottomThicknessCurve = new Curve(BottomThicknessCurve),
                LeftThicknessCurve   = new Curve(LeftThicknessCurve),
                RightThicknessCurve  = new Curve(RightThicknessCurve),
                BorderSizeCurve      = new Curve(BorderSizeCurve),
                BorderType           = BorderType,
                GradientMode         = GradientMode,
                BorderMode           = BorderMode,
                SimpleBorderWidth    = SimpleBorderWidth,
                Gradient             = Gradient
            };

            return(result);
        }
コード例 #2
0
 public Border()
 {
     _data = new BorderData();
     EnableTargetPositioning(true, true);
     InitAllAttributes();
 }