Esempio n. 1
0
 public LegendTitle(LegendItemSource source, Arrangement hLayout, Arrangement vLayout)
 {
   LegendTitle legendTitle = this;
   LegendItemSource[] legendItemSourceArray = new LegendItemSource[1];
   int index = 0;
   LegendItemSource legendItemSource = source;
   legendItemSourceArray[index] = legendItemSource;
   this.sources = legendItemSourceArray;
   this.items = new BlockContainer(hLayout);
   this.hLayout = hLayout;
   this.vLayout = vLayout;
   this.backgroundPaint = (Paint) null;
   this.legendItemGraphicEdge = RectangleEdge.__\u003C\u003ELEFT;
   this.legendItemGraphicAnchor = RectangleAnchor.__\u003C\u003ECENTER;
   this.legendItemGraphicLocation = RectangleAnchor.__\u003C\u003ECENTER;
   this.legendItemGraphicPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
   this.itemFont = LegendTitle.__\u003C\u003EDEFAULT_ITEM_FONT;
   this.itemPaint = LegendTitle.__\u003C\u003EDEFAULT_ITEM_PAINT;
   this.itemLabelPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
 }
Esempio n. 2
0
 public LegendTitle(LegendItemSource source)
   : this(source, (Arrangement) new FlowArrangement(), (Arrangement) new ColumnArrangement())
 {
 }