Package:
diva.canvas.feature
Status:
Unpublished. Preliminary.
Imported packages and classes:
See also:
The Diva canvas
Copyright
Contents
A feature represents a point on a figure. Features are used to identify unique points on the figure and to reshape the figure.
FeatureSet is an interface for representing a set of features. The set can be a subset of the features supported by a figure, or can include features from more than one figure (for example, when performing selection of multiple grab-handles).
RectangularFeatures is a class that implements a set of features for rectangular shapes. The feature set is constructed by passing it the rectangle to which it is to attach the features, and a flag saying which features to include in the set.
SegmentedFeatures is a class that implements a set of features for shapes that have straight-line segments, such as polygons. The feature set is constructed by passing it the shape to which it is to attach the features, and a flag saying which features to include in the set.