public override ITextStrategy Clone() { TextOnlyOutlineStrategy p = new TextOnlyOutlineStrategy(); p.Init(m_clrOutline, m_nThickness, m_bRoundedEdge); return (ITextStrategy)(p); }
public override ITextStrategy Clone() { TextOnlyOutlineStrategy p = new TextOnlyOutlineStrategy(); p.Init(m_clrOutline, m_nThickness, m_bRoundedEdge); return((ITextStrategy)(p)); }
/// <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.Drawing.Color clrOutline, int nThickness, bool bRoundedEdge) { TextOnlyOutlineStrategy strat = new TextOnlyOutlineStrategy(); strat.Init(clrOutline, nThickness, bRoundedEdge); return(strat); }
/// <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.Drawing.Color clrOutline, int nThickness, bool bRoundedEdge) { TextOnlyOutlineStrategy strat = new TextOnlyOutlineStrategy(); strat.Init(clrOutline, nThickness, bRoundedEdge); return strat; }
public void TextOnlyOutline( System.Drawing.Color clrOutline, int nThickness, bool bRoundedEdge) { TextOnlyOutlineStrategy pStrat = new TextOnlyOutlineStrategy(); pStrat.Init(clrOutline, nThickness, bRoundedEdge); m_pTextStrategy = pStrat; }