Interface ManeuverIconDrawer

  • All Implemented Interfaces:

    
    public interface ManeuverIconDrawer
    
                        

    Maneuver icon drawer. Used along with maneuver type and modifier. Used by ManeuverIconHelper as a general interface to drawing junction views

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit drawManeuverIcon(Canvas canvas, @ColorInt() Integer primaryColor, @ColorInt() Integer secondaryColor, PointF size, Float roundaboutAngle) Draws the maneuver icon
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • drawManeuverIcon

         abstract Unit drawManeuverIcon(Canvas canvas, @ColorInt() Integer primaryColor, @ColorInt() Integer secondaryColor, PointF size, Float roundaboutAngle)

        Draws the maneuver icon

        Parameters:
        canvas - where the maneuver icon will be drawn
        primaryColor - primary color
        secondaryColor - secondary color
        size - PointF
        roundaboutAngle - Float