public ITextStrategy Clone()
        {
            TextGradOutlineLastStrategy p = new TextGradOutlineLastStrategy();

            if (m_bClrText)
            {
                p.Init(m_clrText, m_clrOutline1, m_clrOutline2, m_nThickness, m_GradientType);
            }
            else
            {
                p.Init(m_brushText, m_clrOutline1, m_clrOutline2, m_nThickness, m_GradientType);
            }

            return(p);
        }
Exemplo n.º 2
0
        public static ITextStrategy TextGradOutlineLast(
            Color clrText,
            Color clrOutline1,
            Color clrOutline2,
            int nThickness,
            GradientType gradType)
        {
            TextGradOutlineLastStrategy strat = new TextGradOutlineLastStrategy();

            strat.Init(clrText, clrOutline1, clrOutline2, nThickness, gradType);

            return(strat);
        }