Interface IPropCnrColorSettings<COLOR_OPTION extends IPropCnrColor>

    • Method Detail

      • get

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

        default GColor getNoDefault​(COLOR_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​(COLOR_OPTION option,
                            GColor color)
        Sets a stroke option.
        Parameters:
        option - The option to set.
        color - The color value to set, or null to set default.
        Returns:
        true if the value was changed, false for no change.