Package org.robolectric.shadows
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.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShadowPath.PickerShadow picker forPath.static classShadowPath.Point -
Constructor Summary
Constructors Constructor Description ShadowPath() -
Method Summary
Modifier and Type Method Description abstract voidfillBounds(RectF bounds)Fills the givenRectFwith the path bounds.abstract List<ShadowPath.Point>getPoints()
-
Constructor Details
-
ShadowPath
public ShadowPath()
-
-
Method Details
-
getPoints
- Returns:
- all the points that have been added to the
Path
-
fillBounds
Fills the givenRectFwith the path bounds.- Parameters:
bounds- the RectF to be filled.
-