Class TextStylesKt

  • All Implemented Interfaces:

    
    public final class TextStylesKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <Error class: unknown class> ,.,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createDefaultTextStyle(<Error class: unknown class> $self, <Error class: unknown class> color, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion) Create the default text style to use in the Jewel theme.
      final static <Error class: unknown class> ,.,java.lang.Float,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createDefaultTextStyle(<Error class: unknown class> $self, <Error class: unknown class> brush, Float alpha, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion) Create the default text style to use in the Jewel theme.
      final static <Error class: unknown class> ,.,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createEditorTextStyle(<Error class: unknown class> $self, <Error class: unknown class> color, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion) Create the editor text style to use in the Jewel theme.
      final static <Error class: unknown class> ,.,java.lang.Float,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createEditorTextStyle(<Error class: unknown class> $self, <Error class: unknown class> brush, Float alpha, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion) Create the editor text style to use in the Jewel theme.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • createDefaultTextStyle

         final static <Error class: unknown class> ,.,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createDefaultTextStyle(<Error class: unknown class> $self, <Error class: unknown class> color, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion)

        Create the default text style to use in the Jewel theme.

        By default, it is the bundled FontFamily.Companion.Inter with a text size of 13 sp.

        Parameters:
        color - The text color.
        fontSize - The size of glyphs to use when painting the text.
        fontWeight - The typeface thickness to use when painting the text (e.g., bold).
        fontStyle - The typeface variant to use when drawing the letters (e.g., italic).
        fontSynthesis - Whether to synthesize font weight and/or style when the requested weight or style cannot be found in the provided font family.
        fontFamily - The font family to be used when rendering the text.
        fontFeatureSettings - The advanced typography settings provided by font.
        letterSpacing - The amount of space to add between each letter.
        baselineShift - The amount by which the text is shifted up from the current baseline.
        textGeometricTransform - The geometric transformation applied the text.
        localeList - The locale list used to select region-specific glyphs.
        background - The background color for the text.
        textDecoration - The decorations to paint on the text (e.g., an underline).
        shadow - The shadow effect applied on the text.
        drawStyle - Drawing style of text, whether fill in the text while drawing or stroke around the edges.
        textAlign - The alignment of the text within the lines of the paragraph.
        textDirection - The algorithm to be used to resolve the final text and paragraph direction: Left To Right or Right To Left.
        lineHeight - Line height for the Paragraph in TextUnit unit, e.g.
        textIndent - The indentation of the paragraph.
        platformStyle - Platform specific TextStyle parameters.
        lineHeightStyle - the configuration for line height such as vertical alignment of the line, whether to apply additional space as a result of line height to top of first line top and bottom of last line.
        lineBreak - The line breaking configuration for the text.
        hyphens - The configuration of hyphenation.
        textMotion - Text character placement, whether to optimize for animated or static text.
      • createDefaultTextStyle

         final static <Error class: unknown class> ,.,java.lang.Float,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createDefaultTextStyle(<Error class: unknown class> $self, <Error class: unknown class> brush, Float alpha, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion)

        Create the default text style to use in the Jewel theme.

        By default, it is the bundled FontFamily.Companion.Inter with a text size of 13 sp.

        Parameters:
        brush - The brush to use when painting the text.
        alpha - Opacity to be applied to brush from 0.0f to 1.0f representing fully transparent to fully opaque respectively.
        fontSize - The size of glyphs to use when painting the text.
        fontWeight - The typeface thickness to use when painting the text (e.g., bold).
        fontStyle - The typeface variant to use when drawing the letters (e.g., italic).
        fontSynthesis - Whether to synthesize font weight and/or style when the requested weight or style cannot be found in the provided font family.
        fontFamily - The font family to be used when rendering the text.
        fontFeatureSettings - The advanced typography settings provided by font.
        letterSpacing - The amount of space to add between each letter.
        baselineShift - The amount by which the text is shifted up from the current baseline.
        textGeometricTransform - The geometric transformation applied the text.
        localeList - The locale list used to select region-specific glyphs.
        background - The background color for the text.
        textDecoration - The decorations to paint on the text (e.g., an underline).
        shadow - The shadow effect applied on the text.
        drawStyle - Drawing style of text, whether fill in the text while drawing or stroke around the edges.
        textAlign - The alignment of the text within the lines of the paragraph.
        textDirection - The algorithm to be used to resolve the final text and paragraph direction: Left To Right or Right To Left.
        lineHeight - Line height for the Paragraph in TextUnit unit, e.g.
        textIndent - The indentation of the paragraph.
        platformStyle - Platform specific TextStyle parameters.
        lineHeightStyle - the configuration for line height such as vertical alignment of the line, whether to apply additional space as a result of line height to top of first line top and bottom of last line.
        lineBreak - The line breaking configuration for the text.
        hyphens - The configuration of hyphenation.
        textMotion - Text character placement, whether to optimize for animated or static text.
      • createEditorTextStyle

         final static <Error class: unknown class> ,.,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createEditorTextStyle(<Error class: unknown class> $self, <Error class: unknown class> color, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion)

        Create the editor text style to use in the Jewel theme.

        By default, it is the bundled FontFamily.Companion.JetBrainsMono with a text size of 13 sp and a line height multiplier of EditorLineHeightMultiplier (1.2).

        Parameters:
        color - The text color.
        fontSize - The size of glyphs to use when painting the text.
        fontWeight - The typeface thickness to use when painting the text (e.g., bold).
        fontStyle - The typeface variant to use when drawing the letters (e.g., italic).
        fontSynthesis - Whether to synthesize font weight and/or style when the requested weight or style cannot be found in the provided font family.
        fontFamily - The font family to be used when rendering the text.
        fontFeatureSettings - The advanced typography settings provided by font.
        letterSpacing - The amount of space to add between each letter.
        baselineShift - The amount by which the text is shifted up from the current baseline.
        textGeometricTransform - The geometric transformation applied the text.
        localeList - The locale list used to select region-specific glyphs.
        background - The background color for the text.
        textDecoration - The decorations to paint on the text (e.g., an underline).
        shadow - The shadow effect applied on the text.
        drawStyle - Drawing style of text, whether fill in the text while drawing or stroke around the edges.
        textAlign - The alignment of the text within the lines of the paragraph.
        textDirection - The algorithm to be used to resolve the final text and paragraph direction: Left To Right or Right To Left.
        lineHeight - Line height for the Paragraph in TextUnit unit, e.g.
        textIndent - The indentation of the paragraph.
        platformStyle - Platform specific TextStyle parameters.
        lineHeightStyle - the configuration for line height such as vertical alignment of the line, whether to apply additional space as a result of line height to top of first line top and bottom of last line.
        lineBreak - The line breaking configuration for the text.
        hyphens - The configuration of hyphenation.
        textMotion - Text character placement, whether to optimize for animated or static text.
      • createEditorTextStyle

         final static <Error class: unknown class> ,.,java.lang.Float,.,.,.,.,.,java.lang.String,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.)>createEditorTextStyle(<Error class: unknown class> $self, <Error class: unknown class> brush, Float alpha, <Error class: unknown class> fontSize, <Error class: unknown class> fontWeight, <Error class: unknown class> fontStyle, <Error class: unknown class> fontSynthesis, <Error class: unknown class> fontFamily, String fontFeatureSettings, <Error class: unknown class> letterSpacing, <Error class: unknown class> baselineShift, <Error class: unknown class> textGeometricTransform, <Error class: unknown class> localeList, <Error class: unknown class> background, <Error class: unknown class> textDecoration, <Error class: unknown class> shadow, <Error class: unknown class> drawStyle, <Error class: unknown class> textAlign, <Error class: unknown class> textDirection, <Error class: unknown class> lineHeight, <Error class: unknown class> textIndent, <Error class: unknown class> platformStyle, <Error class: unknown class> lineHeightStyle, <Error class: unknown class> lineBreak, <Error class: unknown class> hyphens, <Error class: unknown class> textMotion)

        Create the editor text style to use in the Jewel theme.

        By default, it is the bundled FontFamily.Companion.JetBrainsMono with a text size of 13 sp and a line height multiplier of EditorLineHeightMultiplier (1.2).

        Parameters:
        brush - The brush to use when painting the text.
        alpha - Opacity to be applied to brush from 0.0f to 1.0f representing fully transparent to fully opaque respectively.
        fontSize - The size of glyphs to use when painting the text.
        fontWeight - The typeface thickness to use when painting the text (e.g., bold).
        fontStyle - The typeface variant to use when drawing the letters (e.g., italic).
        fontSynthesis - Whether to synthesize font weight and/or style when the requested weight or style cannot be found in the provided font family.
        fontFamily - The font family to be used when rendering the text.
        fontFeatureSettings - The advanced typography settings provided by font.
        letterSpacing - The amount of space to add between each letter.
        baselineShift - The amount by which the text is shifted up from the current baseline.
        textGeometricTransform - The geometric transformation applied the text.
        localeList - The locale list used to select region-specific glyphs.
        background - The background color for the text.
        textDecoration - The decorations to paint on the text (e.g., an underline).
        shadow - The shadow effect applied on the text.
        drawStyle - Drawing style of text, whether fill in the text while drawing or stroke around the edges.
        textAlign - The alignment of the text within the lines of the paragraph.
        textDirection - The algorithm to be used to resolve the final text and paragraph direction: Left To Right or Right To Left.
        lineHeight - Line height for the Paragraph in TextUnit unit, e.g.
        textIndent - The indentation of the paragraph.
        platformStyle - Platform specific TextStyle parameters.
        lineHeightStyle - the configuration for line height such as vertical alignment of the line, whether to apply additional space as a result of line height to top of first line top and bottom of last line.
        lineBreak - The line breaking configuration for the text.
        hyphens - The configuration of hyphenation.
        textMotion - Text character placement, whether to optimize for animated or static text.