public StyleBuilder(IColorIndexer ci, IImageIndexer ii) { this.ci = ci; this.ii = ii; sbPen = new PenStyleBuilder(this, "p"); sbPen2 = new PenStyleBuilder(this, "sp"); sbBrush = new BrushStyleBuilder(this, "b"); sbImage = new ImageStyleBuilder(this, "i"); sbText = new TextStyleBuilder(this); sbExt = new ExtStyleBuilder(this); }
public BrushStyleBuilder(StyleBuilder sb, string prefix) : base(sb, prefix) { sbImage = new ImageStyleBuilder(sb, prefix + "i"); }