Class ShadowPath

java.lang.Object
org.robolectric.shadows.ShadowPath
Direct Known Subclasses:
ShadowLegacyPath, ShadowNativePath

Base class for ShadowPath classes.
  • Constructor Details

    • ShadowPath

      public ShadowPath()
  • Method Details

    • getPoints

      public abstract List<ShadowPath.Point> getPoints()
      Returns:
      all the points that have been added to the Path
    • fillBounds

      public abstract void fillBounds(RectF bounds)
      Fills the given RectF with the path bounds.
      Parameters:
      bounds - the RectF to be filled.