Interface Accessor<Output, Input>

An accessor is a callback that returns the value if called without arguments and sets value if called with a single Applicator argument.

Type Parameters

  • Output

    The value returned by the getter.

  • Input = Output

    The value passed to the setter.

  • Gets the underlying value.

    Returns Output

  • Sets the underlying value.

    Parameters

    Returns Color