Пример #1
0
        public ITextStrategy Clone()
        {
            TextNoOutlineStrategy p = new TextNoOutlineStrategy();

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

            return(p);
        }
Пример #2
0
        public static ITextStrategy TextNoOutline(
            ICanvasBrush brushText)
        {
            TextNoOutlineStrategy strat = new TextNoOutlineStrategy();

            strat.Init(brushText);

            return(strat);
        }
Пример #3
0
        public static ITextStrategy TextNoOutline(
            Color clrText)
        {
            TextNoOutlineStrategy strat = new TextNoOutlineStrategy();

            strat.Init(clrText);

            return(strat);
        }