public FrameInfo(TextFrameType frameType, float paddingX, float paddingY, float strokeWidth, ColorString colorString) { _frameType = frameType; _paddingX = paddingX; _paddingY = paddingY; _strokeWidth = strokeWidth; _colorString = colorString; }
public TextInfo(string text, string fontFamily, float fontHeight, ColorString colorString, TextHorizAlign textHorizAlign) { Debug.Assert(!String.IsNullOrEmpty(text)); _text = text; _fontFamily = fontFamily; _fontHeight = fontHeight; _textHorizAlign = textHorizAlign; _colorString = colorString; }
public TextInfo(string text, string fontFamily, double fontHeight, SVGFontWeight svgFontWeight, SVGFontStyle svgFontStyle, ColorString colorString, TextHorizAlign textHorizAlign) { M.Assert(!String.IsNullOrEmpty(text)); _text = text; _fontFamily = fontFamily; _svgFontWeight = svgFontWeight; _svgFontStyle = svgFontStyle; _fontHeight = fontHeight; _textHorizAlign = textHorizAlign; _colorString = colorString; }
public TextInfo(string text, string fontFamily, double fontHeight, ColorString colorString, TextHorizAlign textHorizAlign) : this(text, fontFamily, fontHeight, SVGFontWeight.normal, SVGFontStyle.normal, colorString, textHorizAlign) { }