Package icyllis.arc3d.sketch
Interface Shape
public interface Shape
Interface for geometric shapes that have area.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
forEach
(@NonNull PathConsumer action) void
Similar toShape.getBounds2D()
, but stores the result to dst.@NonNull PathIterator
int
Returns 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
-