Uses of Class
com.nsdev.lettergenerator.model.style.Style.Builder
Packages that use Style.Builder
Package
Description
Property-by-property typography and spacing inheritance.
-
Uses of Style.Builder in com.nsdev.lettergenerator.model.style
Methods in com.nsdev.lettergenerator.model.style that return Style.BuilderModifier and TypeMethodDescriptionStyle.Builder.bold()Enables bold, overriding an inherited regular weight.Style.Builder.bold(boolean value) Overrides the inherited bold flag, including explicitly disabling it.static Style.BuilderStyle.builder()Starts a mutable builder with every override omitted.Sets the text-color override.Style.Builder.fontFamily(String value) Sets the font-family override.Style.Builder.fontSizePt(double value) Sets the font size in points (1/72 inch).Style.Builder.italic()Enables italic, overriding an inherited upright style.Style.Builder.italic(boolean value) Overrides the inherited italic flag, including explicitly disabling it.Style.Builder.keepTogether()Style.Builder.keepTogether(Keep value) Sets the current block's page-keep strength.Style.Builder.keepWithNext()Style.Builder.keepWithNext(Keep value) Sets the keep strength between this block and its successor.Style.Builder.lineHeight(double value) Sets the dimensionless line-height multiplier, applied to font size.References a named style below this builder's explicit overrides.Style.Builder.orphans(int value) Sets the minimum opening paragraph lines on a page; generation requires a positive value.Style.Builder.spaceAfterMm(double value) Sets spacing after a block.Style.Builder.spaceBeforeMm(double value) Sets spacing before a block.Sets horizontal paragraph alignment.Style.Builder.underline()Enables underlining for text.Style.Builder.underline(boolean value) Overrides the inherited underline flag, including explicitly disabling it.Style.Builder.widows(int value) Sets the minimum trailing paragraph lines on a page; generation requires a positive value.