Interface IPropCnrStrokeSettings<STROKE_OPTION extends IPropCnrStroke>

All Superinterfaces:
IGProp<GProp<?>[]>, IPropCnr
All Known Implementing Classes:
Axis2D, EAxis2D, EPlot2D, ESeries, Plot2D, Series

public interface IPropCnrStrokeSettings<STROKE_OPTION extends IPropCnrStroke> extends IPropCnr
Interface implements by a property container supporting setting for strokes.
Author:
Christopher Mindus
  • Method Details

    • 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.