Class TextSettingsViewModel

    • Constructor Detail

      • TextSettingsViewModel

        public TextSettingsViewModel()
    • Method Detail

      • getFontSize

        public double getFontSize()
      • setFontSize

        public void setFontSize​(double fontSize)
      • getLineHeight

        public double getLineHeight()
      • setLineHeight

        public void setLineHeight​(double lineHeight)
      • getMaxHeight

        public double getMaxHeight()
      • setMaxHeight

        public void setMaxHeight​(double maxHeight)
      • getMaxWidth

        public double getMaxWidth()
      • setMaxWidth

        public void setMaxWidth​(double maxWidth)
      • getMinWidth

        public double getMinWidth()
        Sets the minimum width for the text bounding box. By default, the bounding box is as wide as computed by the text layout engine. If this value is non-zero, the text will have a minimum width of this value. May be useful for tools that require a certain minimum width.
        Returns:
        The minimum width to set for the text bounding box.
      • setMinWidth

        public void setMinWidth​(double minWidth)
        Sets the minimum width for the text bounding box. By default, the bounding box is as wide as computed by the text layout engine. If this value is non-zero, the text will have a minimum width of this value. May be useful for tools that require a certain minimum width.
        Parameters:
        minWidth - The minimum width to set for the text bounding box.
      • isCoalesceSpaces

        public boolean isCoalesceSpaces()
      • setCoalesceSpaces

        public void setCoalesceSpaces​(boolean coalesceSpaces)
      • isExplicitBounds

        public boolean isExplicitBounds()
      • setExplicitBounds

        public void setExplicitBounds​(boolean explicitBounds)
      • isLimitHeight

        public boolean isLimitHeight()
      • setLimitHeight

        public void setLimitHeight​(boolean limitHeight)
      • isLimitWidth

        public boolean isLimitWidth()
      • setLimitWidth

        public void setLimitWidth​(boolean limitWidth)
      • isTrimSpaces

        public boolean isTrimSpaces()
      • setTrimSpaces

        public void setTrimSpaces​(boolean trimSpaces)