UnforcedTextBreakOptionsRule

data class UnforcedTextBreakOptionsRule(val minLines: Int? = null, val minLinesFromCss: Boolean? = null, val penalty: Int? = null)

Constructors

Link copied to clipboard
fun UnforcedTextBreakOptionsRule(minLines: Int? = null, minLinesFromCss: Boolean? = null, penalty: Int? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val minLines: Int? = null

Trigger penalty if it contains fewer lines than specified here. Has no effect if minLinesFromCss is set to true.

Link copied to clipboard

If this is set to true, minLines is read from the css properties 'widows' and 'orphans' and the minLines property will have no effect.

Link copied to clipboard
val penalty: Int? = null