Interface IPropCnrStrokeSettings<STROKE_OPTION extends IPropCnrStroke>

    • Method Detail

      • get

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

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