public ITextStrategy Clone()
        {
            TextOnlyOutlineStrategy p = new TextOnlyOutlineStrategy();
            p.Init(m_clrOutline, m_nThickness, m_bRoundedEdge);

            return (ITextStrategy)(p);
        }
Esempio n. 2
0
        public ITextStrategy Clone()
        {
            TextOnlyOutlineStrategy p = new TextOnlyOutlineStrategy();

            p.Init(m_clrOutline, m_nThickness, m_bRoundedEdge);

            return((ITextStrategy)(p));
        }
Esempio n. 3
0
        /// <summary>
        /// Setting Outlined Text effect with no text fill
        /// </summary>
        /// <param name="clrOutline">is the outline color</param>
        /// <param name="nThickness">is the outline thickness</param>
        /// <param name="bRoundedEdge">specifies rounded or sharp edges</param>
        /// <returns>valid ITextStrategy pointer if successful</returns>
        public static ITextStrategy TextOnlyOutline(
            System.Windows.Media.Color clrOutline,
            int nThickness,
            bool bRoundedEdge)
        {
            TextOnlyOutlineStrategy strat = new TextOnlyOutlineStrategy();

            strat.Init(clrOutline, nThickness, bRoundedEdge);

            return(strat);
        }
Esempio n. 4
0
        /// <summary>
        /// Setting Outlined Text effect with no text fill
        /// </summary>
        /// <param name="clrOutline">is the outline color</param>
        /// <param name="nThickness">is the outline thickness</param>
        /// <param name="bRoundedEdge">specifies rounded or sharp edges</param>
        /// <returns>valid ITextStrategy pointer if successful</returns>
        public static ITextStrategy TextOnlyOutline(
            System.Windows.Media.Color clrOutline,
            int nThickness,
            bool bRoundedEdge)
        {
            TextOnlyOutlineStrategy strat = new TextOnlyOutlineStrategy();
            strat.Init(clrOutline, nThickness, bRoundedEdge);

            return strat;
        }