public override ITextStrategy Clone() { TextNoOutlineStrategy p = new TextNoOutlineStrategy(); if (m_bClrText) p.Init(m_clrText); else p.Init(m_brushText); return (ITextStrategy)(p); }
public override ITextStrategy Clone() { TextNoOutlineStrategy p = new TextNoOutlineStrategy(); if (m_bClrText) { p.Init(m_clrText); } else { p.Init(m_brushText); } return((ITextStrategy)(p)); }
/// <summary> /// Setting just Text effect with no outline /// </summary> /// <param name="brushText">is the text brush</param> /// <returns>valid ITextStrategy pointer if successful</returns> public static ITextStrategy TextNoOutline( System.Drawing.Brush brushText) { TextNoOutlineStrategy strat = new TextNoOutlineStrategy(); strat.Init(brushText); return(strat); }
/// <summary> /// Setting just Text effect with no outline /// </summary> /// <param name="clrText">is the text color</param> /// <returns>valid ITextStrategy pointer if successful</returns> public static ITextStrategy TextNoOutline( System.Drawing.Color clrText) { TextNoOutlineStrategy strat = new TextNoOutlineStrategy(); strat.Init(clrText); return(strat); }
/// <summary> /// Setting just Text effect with no outline /// </summary> /// <param name="brushText">is the text brush</param> /// <returns>valid ITextStrategy pointer if successful</returns> public static ITextStrategy TextNoOutline( System.Drawing.Brush brushText) { TextNoOutlineStrategy strat = new TextNoOutlineStrategy(); strat.Init(brushText); return strat; }
/// <summary> /// Setting just Text effect with no outline /// </summary> /// <param name="clrText">is the text color</param> /// <returns>valid ITextStrategy pointer if successful</returns> public static ITextStrategy TextNoOutline( System.Drawing.Color clrText) { TextNoOutlineStrategy strat = new TextNoOutlineStrategy(); strat.Init(clrText); return strat; }
public void TextNoOutline(System.Drawing.Brush brushText) { TextNoOutlineStrategy pStrat = new TextNoOutlineStrategy(); pStrat.Init(brushText); m_pTextStrategy = pStrat; }
public void TextNoOutline(System.Drawing.Color clrText) { TextNoOutlineStrategy pStrat = new TextNoOutlineStrategy(); pStrat.Init(clrText); m_pTextStrategy = pStrat; }