コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
ファイル: JapaneseTextBlock.cs プロジェクト: ekicyou/pasta
 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);
 }
コード例 #4
0
ファイル: JapaneseTextBlock.cs プロジェクト: ekicyou/pasta
        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));
        }