public CircularCloudLayouter(ITagsCreator creator, Point center = default(Point)) { addedRectangles = new List <Rectangle>(); spiral = new Spiral(center); this.center = center; this.creator = creator; }
public Visualizer(ICanvas canvas, IPathCreator pathCreator, ITagsCreator tagsCreator, IBackgroundPainter backgroundPainter) { this.canvas = canvas; creator = pathCreator; this.tagsCreator = tagsCreator; this.backgroundPainter = backgroundPainter; }
public TagCloudCreator(IStatisticsProvider statProvider, ITagsCreator tagsCreator, IRenderer renderer) { TagsCreator = tagsCreator; Renderer = renderer; StatProvider = statProvider; }
public FrequencyTagsCloudWrapper(IFontProvider fontCreator, FrequencyWrapperSettings settings, ITagsCreator tagsCreator) { FontCreator = fontCreator; Settings = settings; tagsFrequency = new Dictionary <string, int>(); foreach (var tag in tagsCreator.GetTags()) { if (!tagsFrequency.ContainsKey(tag)) { tagsFrequency[tag] = 0; } tagsFrequency[tag]++; MaxFrequency = Math.Max(MaxFrequency, tagsFrequency[tag]); } }
public TagsCloudVisualizator(VisualizatorConfiguration configuration, ITagsCreator tagsCreator) { Configuration = configuration; TagsCreator = tagsCreator; }