public ITextStrategy Clone() { TextOutlineStrategy p = new TextOutlineStrategy(); if (m_bClrText) { p.Init(m_clrText, m_clrOutline, m_nThickness); } else { p.Init(m_brushText, m_clrOutline, m_nThickness); } return(p); }
public static ITextStrategy TextOutline( ICanvasBrush brushText, Color clrOutline, int nThickness) { TextOutlineStrategy strat = new TextOutlineStrategy(); strat.Init(brushText, clrOutline, nThickness); return(strat); }