Interface IPropCnrFontSettings<FONT_OPTION extends IPropCnrFont>

    • Method Detail

      • get

        default GFont get​(FONT_OPTION option)
        Gets a font option.
        Parameters:
        option - The option to retrieve.
        Returns:
        The option value set, or its default value if not set.
      • getNoDefault

        default GColor getNoDefault​(FONT_OPTION option)
        Gets a color option without default value, i.e. returns null if not set.
        Parameters:
        option - The option to retrieve.
        Returns:
        The option value set, or null if not set.
      • set

        default boolean set​(FONT_OPTION option,
                            GFont font)
        Sets a stroke option.
        Parameters:
        option - The option to set.
        font - The font value to set, or null to set default.
        Returns:
        true if the value was changed, false for no change.