Class ShadowPath

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

@Implements(value=android.graphics.Path.class,
            shadowPicker=Picker.class)
public abstract class ShadowPath
extends Object
Base class for ShadowPath classes.
  • Constructor Details

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