Exemple #1
0
 public TagCloud(ICircularCloudLayouter layouter, Func <KeyValuePair <String, int>, Size> valueToSize) : this(layouter, valueToSize, int.MaxValue, 0)
 {
 }
Exemple #2
0
 public Cloud(ICircularCloudLayouter layouter, ITagCollectionFactory tagCollectionFactory)
 {
     this.tagCollectionFactory = tagCollectionFactory;
     this.layouter             = layouter;
 }
        public CloudWithWordsPainter(IImageHolder imageHolder,
                                     ICircularCloudLayouterWithWordsSettings settings, IPalette palette, ICircularCloudLayouter layouter,
                                     Dictionary <string, int> words)
        {
            this.imageHolder = imageHolder;
            this.settings    = settings;
            this.palette     = palette;
            this.layouter    = layouter;
            this.words       = words;

            imageSize = imageHolder.GetImageSize();
        }
Exemple #4
0
 public TagMaker(ICircularCloudLayouter cloudMaker, Config config)
 {
     this.cloudMaker = cloudMaker;
     font            = config.TagFontName;
 }