Documentation of 'org.jhotdraw.draw.handle.ResizeHandleKit' Java class
ResizeHandleKit
org.jhotdraw.draw.handle

Class ResizeHandleKit



  • public class ResizeHandleKit
    extends java.lang.Object
    A set of utility methods to create handles which resize a Figure by using its setBounds method, if the Figure is transformable.
    • Constructor Detail

      • ResizeHandleKit

        public ResizeHandleKit()
        Creates a new instance.
    • Method Detail

      • addCornerResizeHandles

        public static void addCornerResizeHandles(Figure f,
                                                  java.util.Collection<Handle> handles)
        Creates handles for each corner of a figure and adds them to the provided collection.
      • addEdgeResizeHandles

        public static void addEdgeResizeHandles(Figure f,
                                                java.util.Collection<Handle> handles)
        Fills the given Vector with handles at each the north, south, east, and west of the figure.
      • addResizeHandles

        public static void addResizeHandles(Figure f,
                                            java.util.Collection<Handle> handles)
        Fills the given Vector with handles at each the north, south, east, and west of the figure.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.