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

Class TransformHandleKit



  • public class TransformHandleKit
    extends java.lang.Object
    A set of utility methods to create Handles which transform a Figure by using its transform method.
    • Constructor Detail

      • TransformHandleKit

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

      • addCornerTransformHandles

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

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

        public static void addScaleMoveTransformHandles(Figure f,
                                                        java.util.Collection<Handle> handles)
        Adds handles for scaling and moving a Figure.
      • addTransformHandles

        public static void addTransformHandles(Figure f,
                                               java.util.Collection<Handle> handles)
        Adds handles for scaling, moving, rotating and shearing a Figure.
      • addGroupTransformHandles

        public static void addGroupTransformHandles(Figure f,
                                                    java.util.Collection<Handle> handles)
        Adds handles for scaling, moving, rotating and shearing a Figure.
      • addGroupHoverHandles

        public static void addGroupHoverHandles(Figure f,
                                                java.util.Collection<Handle> handles)
        Adds handles for scaling, moving, rotating and shearing a Figure.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.