internal void Init() { StyleBuilder sb = new StyleBuilder(null, null); penStyle = sb.Parse("pc=blue"); brushStyle = sb.Parse("bc=LightGray"); textStyle = sb.Parse("fn=Tahoma fz=10"); selStyle = sb.Parse("pc=yellow pw=2 pc2=red pds2=dash"); editLineStyle = sb.Parse("pc=yellow pw=3 pc2=red"); editPointStyle = sb.Parse("pc=red"); }
public PenStyleBuilder(StyleBuilder sb, string prefix) : base(sb, prefix) { sbBrush = new BrushStyleBuilder(sb, prefix + "b"); }
public TextStyleBuilder(StyleBuilder sb) : base(sb, "") { sbBrush = new BrushStyleBuilder(sb, "tb"); }
public ImageStyleBuilder(StyleBuilder sb, string prefix) : base(sb, prefix) { }
public BrushStyleBuilder(StyleBuilder sb, string prefix) : base(sb, prefix) { sbImage = new ImageStyleBuilder(sb, prefix + "i"); }
protected BaseStyleBuilder(StyleBuilder sb, string prefix) { this.sb = sb; this.prefix = prefix; }