コード例 #1
0
        public ITextStrategy Clone()
        {
            TextDblGlowStrategy p = new TextDblGlowStrategy();
            if (m_bClrText)
                p.Init(m_clrText, m_clrOutline1, m_clrOutline2, m_nThickness1, m_nThickness2);
            else
                p.Init(m_brushText, m_clrOutline1, m_clrOutline2, m_nThickness1, m_nThickness2);

            return (ITextStrategy)(p);
        }
コード例 #2
0
        public ITextStrategy Clone()
        {
            TextDblGlowStrategy p = new TextDblGlowStrategy();

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

            return((ITextStrategy)(p));
        }