public JapaneseTextParagraphProperties(FlowDirection flowDirection, TextAlignment textAlignment, bool firstLineInParagraph, bool alwaysCollapsible, JapaneseTextRunProperties defaultTextRunProperties, TextWrapping textWrap, double lineHeight, double indent, bool isVerticalWriting) { this._flowDirection = flowDirection; this._textAlignment = textAlignment; this._firstLineInParagraph = firstLineInParagraph; this._alwaysCollapsible = alwaysCollapsible; this._defaultTextRunProperties = defaultTextRunProperties; this._textWrap = textWrap; this._lineHeight = lineHeight; this._indent = indent; this._isVerticalWriting = isVerticalWriting; }
private JapaneseTextParagraphProperties MakeTextProperties() { JapaneseTextRunProperties textRunProperties = new JapaneseTextRunProperties(new Typeface(this.FontFamily, this.FontStyle, this.FontWeight, this.FontStretch), this.FontSize, this.FontSize, null, this.Foreground, this.Background, BaselineAlignment.Baseline, CultureInfo.CurrentUICulture); return new JapaneseTextParagraphProperties(FlowDirection.LeftToRight, TextAlignment.Left, false, false, textRunProperties, this.TextWrapping, 0.0, 0.0, this.IsVertical); }
private JapaneseTextParagraphProperties MakeTextProperties() { JapaneseTextRunProperties textRunProperties = new JapaneseTextRunProperties(new Typeface(this.FontFamily, this.FontStyle, this.FontWeight, this.FontStretch), this.FontSize, this.FontSize, null, this.Foreground, this.Background, BaselineAlignment.Baseline, CultureInfo.CurrentUICulture); return(new JapaneseTextParagraphProperties(FlowDirection.LeftToRight, TextAlignment.Left, false, false, textRunProperties, this.TextWrapping, 0.0, 0.0, this.IsVertical)); }