Ejemplo n.º 1
0
 private void SetAllNull()
 {
     Glow       = new SLGlow(listThemeColors);
     Shadow     = new SLShadowEffect(listThemeColors);
     Reflection = new SLReflection();
     SoftEdge   = new SLSoftEdge();
 }
Ejemplo n.º 2
0
        internal SLShadowEffect Clone()
        {
            var se = new SLShadowEffect(listThemeColors);

            se.IsInnerShadow              = IsInnerShadow;
            se.InnerShadowColor           = InnerShadowColor.Clone();
            se.InnerShadowBlurRadius      = InnerShadowBlurRadius;
            se.InnerShadowDistance        = InnerShadowDistance;
            se.InnerShadowDirection       = InnerShadowDirection;
            se.OuterShadowColor           = OuterShadowColor.Clone();
            se.OuterShadowBlurRadius      = OuterShadowBlurRadius;
            se.OuterShadowDistance        = OuterShadowDistance;
            se.OuterShadowDirection       = OuterShadowDirection;
            se.OuterShadowHorizontalRatio = OuterShadowHorizontalRatio;
            se.OuterShadowVerticalRatio   = OuterShadowVerticalRatio;
            se.OuterShadowHorizontalSkew  = OuterShadowHorizontalSkew;
            se.OuterShadowVerticalSkew    = OuterShadowVerticalSkew;
            se.OuterShadowAlignment       = OuterShadowAlignment;
            se.OuterShadowRotateWithShape = OuterShadowRotateWithShape;

            return(se);
        }