Package icyllis.arc3d.sketch
Interface Shape
public interface Shape
Interface for geometric shapes that have area.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidforEach(@NonNull PathConsumer action) voidSimilar toShape.getBounds2D(), but stores the result to dst.@NonNull PathIteratorintReturns the filling rule for determining the interior of the path.
-
Method Details
-
getBounds
Similar toShape.getBounds2D(), but stores the result to dst.- Parameters:
dest- the destination rectangle to store the bounds to
-
getWindingRule
int getWindingRule()Returns the filling rule for determining the interior of the path.- Returns:
- the winding rule.
- See Also:
-
getPathIterator
@NonNull PathIterator getPathIterator() -
forEach
-