The font, size, line height, alignment, indent and spacing of a Paragraph. Immutable; With* returns a changed
copy, so one style can be shared by many paragraphs.
public sealed class ParagraphStyle
ISO 32000-2 §9.3 (text state: Tf font and size) and §9.4.4 (text space): widths are measured with
MeasureWidth(ReadOnlySpan<Char>, Double, Boolean) at character spacing 0, word spacing 0 and horizontal scaling 100.
kind:method, kind:property, kind:ctor. Press Esc to clear.ParagraphStyle(PdfCanvasFont, Double)Creates a left-aligned style with line height 1.2, no indent and no paragraph spacing.AlignmentThe alignment of the lines.FirstLineIndentThe indent of the first line from the left edge, in points.FontThe font text is shown in.FontSizeThe font size in points.KerningWhether pair kerning from the font is applied when measuring and showing text.LineHeightThe distance between baselines as a multiple of the font size; 1.2 by default.ShapingHow text is shaped into glyphs (Default by default: the font's ligatures, contextual and localised forms and Arabic joining, for an embedded OpenType or TrueType font). Kerning decides the kern feature.SpaceAfterThe space below the paragraph, in points.SpaceBeforeThe space above the paragraph, in points; dropped when the paragraph starts a page.TextStyleThe paragraph's text style: its font, size, kerning and shaping, in the default colour without decorations. Inline runs without a style of their own use it; TextStyle.With* derives run styles from it.WithAlignment(TextAlignment)Returns this style with another alignment.WithDirection(TextDirection)Returns this style with another base direction.WithFirstLineIndent(Double)Returns this style with another first-line indent.WithKerning(Boolean)Returns this style with pair kerning on or off.WithLineHeight(Double)Returns this style with another line height.WithShaping(TextShaping)Returns this style with other shaping: script, language system, direction or features.WithSpaceAfter(Double)Returns this style with other space below the paragraph.WithSpaceBefore(Double)Returns this style with other space above the paragraph.