public static ITextStrategy TextNoOutline(
            ICanvasBrush brushText)
        {
            TextNoOutlineStrategy strat = new TextNoOutlineStrategy();

            strat.Init(brushText);

            return(strat);
        }
        public static ITextStrategy TextNoOutline(
            Color clrText)
        {
            TextNoOutlineStrategy strat = new TextNoOutlineStrategy();

            strat.Init(clrText);

            return(strat);
        }
Beispiel #3
0
        public ITextStrategy Clone()
        {
            TextNoOutlineStrategy p = new TextNoOutlineStrategy();

            if (m_bClrText)
            {
                p.Init(m_clrText);
            }
            else
            {
                p.Init(m_brushText);
            }

            return(p);
        }