Interface StrokeTheme<T extends StrokeTheme<T>>

Type Parameters:
T - The type of the dynamic theme.
All Superinterfaces:
BaseTheme<T>
All Known Implementing Classes:
AppTheme, AppWidgetTheme

public interface StrokeTheme<T extends StrokeTheme<T>> extends BaseTheme<T>
A BaseTheme to implement the stroke theme.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the stroke color used by this theme.
    boolean
    Returns whether the stroke is required for this theme.

    Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.BaseTheme

    isHost, setHost
  • Method Details

    • isStroke

      boolean isStroke()
      Returns whether the stroke is required for this theme.
      Returns:
      true if the stroke is required for this theme.
    • getStrokeColor

      @ColorInt int getStrokeColor()
      Returns the stroke color used by this theme.
      Returns:
      The stroke color used by this theme.