Exemplo n.º 1
0
        public ITextStrategy Clone()
        {
            ExtrudeStrategy p = new ExtrudeStrategy();
            if (m_bClrText)
                p.Init(m_clrText, m_clrOutline, m_nThickness, m_nOffsetX, m_nOffsetY);
            else
                p.Init(m_brushText, m_clrOutline, m_nThickness, m_nOffsetX, m_nOffsetY);

            return (ITextStrategy)(p);
        }
Exemplo n.º 2
0
        public ITextStrategy Clone()
        {
            ExtrudeStrategy p = new ExtrudeStrategy();

            if (m_bClrText)
            {
                p.Init(m_clrText, m_clrOutline, m_nThickness, m_nOffsetX, m_nOffsetY);
            }
            else
            {
                p.Init(m_brushText, m_clrOutline, m_nThickness, m_nOffsetX, m_nOffsetY);
            }

            return((ITextStrategy)(p));
        }