Uses of Class
org.jhotdraw8.draw.css.value.CssPoint2D
Packages that use CssPoint2D
Package
Description
Provides utility classes for converting from/to CSS attribute texts.
Provides
Handles for direct manipulation of
figures on a drawing view.Provides interfaces and classes for locating a point on a figure.
-
Uses of CssPoint2D in org.jhotdraw8.draw.constrain
Fields in org.jhotdraw8.draw.constrain declared as CssPoint2DModifier and TypeFieldDescriptionstatic final CssPoint2DConstrainer.DIRECTION_NEARESTA direction vector with distance of zero.Methods in org.jhotdraw8.draw.constrain that return CssPoint2DModifier and TypeMethodDescriptiondefault CssPoint2DConstrainer.constrainPoint(Figure f, CssPoint2D p) Constrains the placement of a point towards the closest constraint in any direction.FigureSpecificConstrainer.constrainPoint(@NonNull Figure f, CssPoint2D p) Constrainer.translatePoint(Figure f, CssPoint2D p, CssPoint2D dir) Snaps a point to the next constrained location in the specified direction.FigureSpecificConstrainer.translatePoint(@NonNull Figure f, CssPoint2D p, CssPoint2D dir) GridConstrainer.translatePoint(Figure f, @NonNull CssPoint2D cssp, @NonNull CssPoint2D dir) NullConstrainer.translatePoint(Figure f, @NonNull CssPoint2D cssp, @NonNull CssPoint2D cssdir) Methods in org.jhotdraw8.draw.constrain with parameters of type CssPoint2DModifier and TypeMethodDescriptiondefault CssPoint2DConstrainer.constrainPoint(Figure f, CssPoint2D p) Constrains the placement of a point towards the closest constraint in any direction.FigureSpecificConstrainer.constrainPoint(@NonNull Figure f, CssPoint2D p) Constrainer.translatePoint(Figure f, CssPoint2D p, CssPoint2D dir) Snaps a point to the next constrained location in the specified direction.FigureSpecificConstrainer.translatePoint(@NonNull Figure f, CssPoint2D p, CssPoint2D dir) GridConstrainer.translatePoint(Figure f, @NonNull CssPoint2D cssp, @NonNull CssPoint2D dir) NullConstrainer.translatePoint(Figure f, @NonNull CssPoint2D cssp, @NonNull CssPoint2D cssdir) Constrainer.translateRectangle(Figure f, CssRectangle2D r, CssPoint2D dir) Snaps a rectangle into the the closest constraint position in the given direction.FigureSpecificConstrainer.translateRectangle(@NonNull Figure f, CssRectangle2D r, CssPoint2D dir) GridConstrainer.translateRectangle(Figure f, @NonNull CssRectangle2D cssr, @NonNull CssPoint2D cssdir) NullConstrainer.translateRectangle(Figure f, @NonNull CssRectangle2D cssr, @NonNull CssPoint2D cssdir) -
Uses of CssPoint2D in org.jhotdraw8.draw.css.converter
Methods in org.jhotdraw8.draw.css.converter with type parameters of type CssPoint2DModifier and TypeMethodDescriptionprotected <TT extends CssPoint2D>
voidPoint2DCssConverter.produceTokensNonNull(@NonNull TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @NonNull Consumer<CssToken> out) protected <TT extends CssPoint2D>
voidSymmetricCssPoint2DCssConverter.produceTokensNonNull(@NonNull TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, @NonNull Consumer<CssToken> out) Methods in org.jhotdraw8.draw.css.converter that return CssPoint2DModifier and TypeMethodDescriptionSymmetricCssPoint2DCssConverter.getDefaultValue()Point2DCssConverter.parseNonNull(@NonNull CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) SymmetricCssPoint2DCssConverter.parseNonNull(@NonNull CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) -
Uses of CssPoint2D in org.jhotdraw8.draw.css.value
Fields in org.jhotdraw8.draw.css.value declared as CssPoint2DMethods in org.jhotdraw8.draw.css.value that return CssPoint2DModifier and TypeMethodDescriptionCssPoint2D.add(@NonNull CssPoint2D that) CssRectangle2D.getTopLeft()CssPoint2D.subtract(@NonNull CssPoint2D that) Methods in org.jhotdraw8.draw.css.value with parameters of type CssPoint2DModifier and TypeMethodDescriptionCssPoint2D.add(@NonNull CssPoint2D that) static javafx.geometry.Point2DCssPoint2D.getPointInBounds(CssPoint2D p, javafx.geometry.Bounds bounds) Gets a point that was given in relative coordinates to a bounds.CssPoint2D.subtract(@NonNull CssPoint2D that) Constructors in org.jhotdraw8.draw.css.value with parameters of type CssPoint2D -
Uses of CssPoint2D in org.jhotdraw8.draw.figure
Methods in org.jhotdraw8.draw.figure that return CssPoint2DModifier and TypeMethodDescriptiondefault @NonNull CssPoint2DFigure.worldToLocal(@NonNull CssPoint2D pointInWorld) Methods in org.jhotdraw8.draw.figure with parameters of type CssPoint2DModifier and TypeMethodDescriptionvoidAbstractLabelConnectionFigure.translateInLocal(@NonNull CssPoint2D delta) voidAbstractLabelFigure.translateInLocal(@NonNull CssPoint2D delta) voidAbstractPathConnectionWithMarkersFigure.translateInLocal(@NonNull CssPoint2D t) voidAbstractStraightLineConnectionWithMarkersFigure.translateInLocal(@NonNull CssPoint2D t) voidBezierPathFigure.translateInLocal(@NonNull CssPoint2D t) default voidFigure.translateInLocal(@NonNull CssPoint2D t) Attempts to translate the local bounds of the figure.voidPolygonFigure.translateInLocal(@NonNull CssPoint2D t) voidPolylineFigure.translateInLocal(@NonNull CssPoint2D t) default voidRectangularFigure.translateInLocal(@NonNull CssPoint2D t) default voidFigure.translateInParent(@NonNull CssPoint2D t) Attempts to translate the parent bounds of the figure.default @NonNull CssPoint2DFigure.worldToLocal(@NonNull CssPoint2D pointInWorld) -
Uses of CssPoint2D in org.jhotdraw8.draw.handle
Fields in org.jhotdraw8.draw.handle with type parameters of type CssPoint2DModifier and TypeFieldDescriptionprotected final @NonNull NonNullMapAccessor<CssPoint2D> LabelConnectorHandle.originKeyprotected final NonNullMapAccessor<CssPoint2D> AbstractConnectorHandle.pointKeyMethods in org.jhotdraw8.draw.handle with parameters of type CssPoint2DModifier and TypeMethodDescriptionprotected voidMoveHandle.doTranslateFigure(@NonNull Figure f, @NonNull CssPoint2D oldPoint, @NonNull CssPoint2D newPoint, @Nullable DrawingModel model) AbstractConnectorHandle.find(@NonNull CssPoint2D pointInWorld, @NonNull ConnectingFigure o, @NonNull ConnectableFigure cff, @NonNull javafx.scene.input.MouseEvent mouseEvent, double tolerance) static voidMoveHandle.translateFigure(@NonNull Figure f, @NonNull CssPoint2D oldPoint, @NonNull CssPoint2D newPoint, @Nullable DrawingModel model) Translates the specified figure, given the old and new position of a point.Constructor parameters in org.jhotdraw8.draw.handle with type arguments of type CssPoint2DModifierConstructorDescriptionAbstractConnectorHandle(@NonNull ConnectingFigure figure, NonNullMapAccessor<CssPoint2D> pointKey, @NonNull MapAccessor<Connector> connectorKey, @NonNull MapAccessor<Figure> targetKey) LabelConnectorHandle(@NonNull ConnectingFigure figure, @NonNull NonNullMapAccessor<CssPoint2D> originKey, @NonNull NonNullMapAccessor<CssPoint2D> pointKey, @NonNull MapAccessor<Connector> connectorKey, @NonNull MapAccessor<Figure> targetKey) LineConnectorHandle(@NonNull ConnectingFigure figure, @NonNull NonNullMapAccessor<CssPoint2D> pointKey, @NonNull MapAccessor<Connector> connectorKey, @NonNull MapAccessor<Figure> targetKey) PointHandle(Figure figure, NonNullMapAccessor<CssPoint2D> pointKey) RelativePointHandle(Figure figure, MapAccessor<CssPoint2D> pointKey) -
Uses of CssPoint2D in org.jhotdraw8.draw.key
Methods in org.jhotdraw8.draw.key that return CssPoint2DModifier and TypeMethodDescriptionMethods in org.jhotdraw8.draw.key that return types with arguments of type CssPoint2DModifier and TypeMethodDescription@NonNull org.jhotdraw8.base.converter.Converter<CssPoint2D> CssPoint2DStyleableKey.getCssConverter()@NonNull org.jhotdraw8.base.converter.Converter<@NonNull CssPoint2D> CssPoint2DStyleableMapAccessor.getCssConverter()@NonNull org.jhotdraw8.base.converter.Converter<CssPoint2D> SymmetricCssPoint2DStyleableMapAccessor.getCssConverter()Methods in org.jhotdraw8.draw.key with parameters of type CssPoint2DModifier and TypeMethodDescriptionCssPoint2DStyleableMapAccessor.put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssPoint2D value) SymmetricCssPoint2DStyleableMapAccessor.put(@NonNull ImmutableMap<Key<?>, Object> a, @Nullable CssPoint2D value) voidCssPoint2DStyleableMapAccessor.set(@NonNull Map<? super Key<?>, Object> a, @Nullable CssPoint2D value) voidSymmetricCssPoint2DStyleableMapAccessor.set(@NonNull Map<? super Key<?>, Object> a, @Nullable CssPoint2D value) Constructors in org.jhotdraw8.draw.key with parameters of type CssPoint2DModifierConstructorDescriptionCssPoint2DStyleableKey(@NonNull String key, @NonNull CssPoint2D defaultValue) Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.CssPoint2DStyleableKey(@NonNull String key, @NonNull CssPoint2D defaultValue, @NonNull CssConverter<CssPoint2D> converter) Constructor parameters in org.jhotdraw8.draw.key with type arguments of type CssPoint2DModifierConstructorDescriptionCssPoint2DStyleableKey(@NonNull String key, @NonNull CssPoint2D defaultValue, @NonNull CssConverter<CssPoint2D> converter) CssPoint2DStyleableMapAccessor(@NonNull String name, @NonNull NonNullMapAccessor<CssSize> xKey, @NonNull NonNullMapAccessor<CssSize> yKey, @NonNull org.jhotdraw8.base.converter.Converter<CssPoint2D> converter) Creates a new instance with the specified name. -
Uses of CssPoint2D in org.jhotdraw8.draw.locator
Constructor parameters in org.jhotdraw8.draw.locator with type arguments of type CssPoint2D -
Uses of CssPoint2D in org.jhotdraw8.draw.model
Methods in org.jhotdraw8.draw.model with parameters of type CssPoint2DModifier and TypeMethodDescriptionvoidDrawingModel.translateInParent(Figure f, CssPoint2D tx) voidSimpleDrawingModel.translateInParent(@NonNull Figure f, CssPoint2D delta) -
Uses of CssPoint2D in org.jhotdraw8.draw.tool
Methods in org.jhotdraw8.draw.tool with parameters of type CssPoint2DModifier and TypeMethodDescriptionprotected voidCreationTool.reshapeInLocal(Figure figure, @NonNull CssPoint2D c1, @NonNull CssPoint2D c2, @NonNull DrawingModel dm) protected voidLineCreationTool.reshapeInLocal(@NonNull Figure figure, @NonNull CssPoint2D c1, @NonNull CssPoint2D c2, @NonNull DrawingModel dm) Constructor parameters in org.jhotdraw8.draw.tool with type arguments of type CssPoint2DModifierConstructorDescriptionLineCreationTool(String name, Resources rsrc, Supplier<? extends Figure> figureFactory, Supplier<Layer> layerFactory, MapAccessor<CssPoint2D> p1, MapAccessor<CssPoint2D> p2) LineCreationTool(String name, Resources rsrc, Supplier<? extends Figure> factory, MapAccessor<CssPoint2D> p1, MapAccessor<CssPoint2D> p2)