예제 #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);
        }
예제 #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));
        }