public interface DefaultOriginDoodle extends Doodle
Details:
The origin of a doodle is a specific point on the doodle that is interpreted as the doodle's "center of gravity."
Without defining an origin, the idea of transforming a doodle (i.e., rotation, scaling, translation, etc.) is somewhat ambiguous.
This interface models a doodle that defines an origin.
This feature will can be exploited by various decorators, such as TransformedDoodle
and ViewDoodle
.
Point2D getDefaultOrigin()
Copyright © 2013. All Rights Reserved.