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 class
ShadowPath.Picker
Shadow picker forPath
.static class
ShadowPath.Point
-
Constructor Summary
Constructors Constructor Description ShadowPath()
-
Method Summary
Modifier and Type Method Description abstract void
fillBounds(RectF bounds)
Fills the givenRectF
with 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 givenRectF
with the path bounds.- Parameters:
bounds
- the RectF to be filled.
-