public WidgetConfig(WidgetAnchor widgetAnchor, float centerX, float centerY, float width, float height, TextAnchor contentAnchor, float fontSize, string text) { CenterX = centerX; CenterY = centerY; Width = width; Height = height; ContentAnchor = contentAnchor; Text = text; FontSize = fontSize; Anchor = widgetAnchor; }
public WidgetConfig(WidgetAnchor widgetAnchor, float centerX, float centerY, float width, float height, TextAnchor contentAnchor, float fontSize, string text) { CenterX = centerX; CenterY = centerY; Width = width; Height = height; ContentAnchor = contentAnchor; Text = text; FontSize = fontSize; Anchor = widgetAnchor; }