예제 #1
0
 private void SetAllNull()
 {
     Glow       = new SLGlow(listThemeColors);
     Shadow     = new SLShadowEffect(listThemeColors);
     Reflection = new SLReflection();
     SoftEdge   = new SLSoftEdge();
 }
예제 #2
0
        internal SLReflection Clone()
        {
            var r = new SLReflection();

            r.decBlurRadius      = decBlurRadius;
            r.decStartOpacity    = decStartOpacity;
            r.decStartPosition   = decStartPosition;
            r.decEndAlpha        = decEndAlpha;
            r.decEndPosition     = decEndPosition;
            r.decDistance        = decDistance;
            r.decDirection       = decDirection;
            r.decFadeDirection   = decFadeDirection;
            r.decHorizontalRatio = decHorizontalRatio;
            r.decVerticalRatio   = decVerticalRatio;
            r.decHorizontalSkew  = decHorizontalSkew;
            r.decVerticalSkew    = decVerticalSkew;
            r.Alignment          = Alignment;
            r.RotateWithShape    = RotateWithShape;

            return(r);
        }