🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

PlatformParagraphStyle

Provides Android specific ParagraphStyle configuration options for styling and compatibility.

Source set: Android
public class PlatformParagraphStyle

Provides Android specific ParagraphStyle configuration options for styling and compatibility.

Properties

includeFontPadding

Source set: Android
public val includeFontPadding: Boolean

Include extra space beyond font ascent and descent.

Enables turning on and off for Android includeFontPadding).

includeFontPadding was added to Android in order to prevent clipping issues on tall scripts. However that issue has been fixed since Android 28. Jetpack Compose backports the fix for Android versions prior to Android 28. Therefore the original reason why includeFontPadding was needed in invalid on Compose.

This configuration was added for migration of the apps in case some code or design was relying includeFontPadding=true behavior.

emojiSupportMatch

Source set: Android
public val emojiSupportMatch: EmojiSupportMatch

When to replace emoji with support emoji using androidx.emoji2.

This is only available on Android.

Functions

merge

Source set: Android
public fun merge(other: PlatformParagraphStyle?): PlatformParagraphStyle

Members

Companion

Source set: Android
public actual companion object

Properties

Default

Source set: Android
public val Default: PlatformParagraphStyle = PlatformParagraphStyle()
Source set: Common
public class PlatformParagraphStyle

Provides platform specific ParagraphStyle configuration options for styling and compatibility.

Functions

merge

Source set: Common
public fun merge(other: PlatformParagraphStyle?): PlatformParagraphStyle

Members

Companion

Source set: Common
public companion object

Properties

Default

Source set: Common
public val Default: PlatformParagraphStyle