Package-level declarations

Properties

Link copied to clipboard
val JBValue.dp: Dp
Link copied to clipboard
val ThemeColorPalette.windowsPopupBorder: Color?

Functions

Link copied to clipboard
fun ToolWindow.addComposeTab(tabDisplayName: String, isLockable: Boolean = true, isCloseable: Boolean = false, content: @Composable () -> Unit)
Link copied to clipboard
fun bridgePainterProvider(path: String): ResourcePainterProvider

ResourceResolver to resolve resource in Intellij Module and Bridge module.

Link copied to clipboard
fun List<Color>.createVerticalBrush(startY: Float = 0.0f, endY: Float = Float.POSITIVE_INFINITY, tileMode: TileMode = TileMode.Clamp): Brush
Link copied to clipboard
fun BorderColors.Companion.readFromLaF(): BorderColors
fun GlobalColors.Companion.readFromLaF(): GlobalColors
fun GlobalMetrics.Companion.readFromLaF(): GlobalMetrics
fun OutlineColors.Companion.readFromLaF(): OutlineColors
fun ThemeColorPalette.Companion.readFromLaF(): ThemeColorPalette
Link copied to clipboard
fun retrieveArcAsCornerSize(key: String): CornerSize
Link copied to clipboard
fun retrieveArcAsCornerSizeWithFallbacks(vararg keys: String): CornerSize
Link copied to clipboard
fun retrieveColorOrNull(key: String): Color?
Link copied to clipboard
Link copied to clipboard
fun retrieveColorsOrUnspecified(vararg keys: String): List<Color>
Link copied to clipboard
fun retrieveInsetsAsPaddingValues(key: String): PaddingValues
Link copied to clipboard
fun retrieveIntAsDp(key: String): Dp
Link copied to clipboard
Link copied to clipboard
suspend fun retrieveTextStyle(fontKey: String, colorKey: String? = null): TextStyle
suspend fun retrieveTextStyle(key: String, color: Color = Color.Unspecified, lineHeight: TextUnit = TextUnit.Unspecified, bold: Boolean = false, fontStyle: FontStyle = FontStyle.Normal, size: TextUnit = TextUnit.Unspecified): TextStyle
Link copied to clipboard
@Composable
fun SwingBridgeTheme(content: @Composable () -> Unit)
Link copied to clipboard
fun Color.toComposeColor(): Color
Link copied to clipboard
Link copied to clipboard
fun JBDimension.toDpSize(): DpSize

Converts a JBDimension to DpSize, in a scaling-aware way. This means that the resulting DpSize will be constructed by first obtaining the unscaled values. This avoids double scaling.

fun Dimension.toDpSize(): DpSize

Converts a Dimension to DpSize. If the receiver is a JBDimension instance, this function delegates to the specific toDpSize for it, which is scaling-aware.

Link copied to clipboard
fun Font.toFontFamily(): FontFamily
Link copied to clipboard
fun JBInsets.toPaddingValues(): PaddingValues

Converts a JBInsets to PaddingValues, in a scaling-aware way. This means that the resulting PaddingValues will be constructed from the JBInsets.unscaled values, treated as Dp. This avoids double scaling.

fun Insets.toPaddingValues(): PaddingValues

Converts a Insets to PaddingValues. If the receiver is a JBInsets instance, this function delegates to the specific toPaddingValues for it, which is scaling-aware.