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(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(Figure f, CssPoint2D p, CssPoint2D dir) GridConstrainer.translatePoint(Figure f, CssPoint2D cssp, CssPoint2D dir) NullConstrainer.translatePoint(Figure f, CssPoint2D cssp, 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(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(Figure f, CssPoint2D p, CssPoint2D dir) GridConstrainer.translatePoint(Figure f, CssPoint2D cssp, CssPoint2D dir) NullConstrainer.translatePoint(Figure f, CssPoint2D cssp, 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(Figure f, CssRectangle2D r, CssPoint2D dir) GridConstrainer.translateRectangle(Figure f, CssRectangle2D cssr, CssPoint2D cssdir) NullConstrainer.translateRectangle(Figure f, CssRectangle2D cssr, 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(TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, Consumer<CssToken> out) protected <TT extends CssPoint2D>
voidSymmetricCssPoint2DCssConverter.produceTokensNonNull(TT value, @Nullable org.jhotdraw8.base.converter.IdSupplier idSupplier, Consumer<CssToken> out) Methods in org.jhotdraw8.draw.css.converter that return CssPoint2DModifier and TypeMethodDescription@Nullable CssPoint2DSymmetricCssPoint2DCssConverter.getDefaultValue()Point2DCssConverter.parseNonNull(CssTokenizer tt, @Nullable org.jhotdraw8.base.converter.IdResolver idResolver) SymmetricCssPoint2DCssConverter.parseNonNull(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(CssPoint2D that) CssRectangle2D.getTopLeft()CssPoint2D.subtract(CssPoint2D that) Methods in org.jhotdraw8.draw.css.value with parameters of type CssPoint2DModifier and TypeMethodDescriptionCssPoint2D.add(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(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 CssPoint2DFigure.worldToLocal(CssPoint2D pointInWorld) Methods in org.jhotdraw8.draw.figure with parameters of type CssPoint2DModifier and TypeMethodDescriptionvoidAbstractLabelConnectionFigure.translateInLocal(CssPoint2D delta) voidAbstractLabelFigure.translateInLocal(CssPoint2D delta) voidAbstractPathConnectionWithMarkersFigure.translateInLocal(CssPoint2D t) voidAbstractStraightLineConnectionWithMarkersFigure.translateInLocal(CssPoint2D t) voidBezierPathFigure.translateInLocal(CssPoint2D t) default voidFigure.translateInLocal(CssPoint2D t) Attempts to translate the local bounds of the figure.voidPolygonFigure.translateInLocal(CssPoint2D t) voidPolylineFigure.translateInLocal(CssPoint2D t) default voidRectangularFigure.translateInLocal(CssPoint2D t) default voidFigure.translateInParent(CssPoint2D t) Attempts to translate the parent bounds of the figure.default CssPoint2DFigure.worldToLocal(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 NonNullMapAccessor<CssPoint2D> LabelConnectorHandle.originKeyprotected final NonNullMapAccessor<CssPoint2D> AbstractConnectorHandle.pointKeyMethods in org.jhotdraw8.draw.handle with parameters of type CssPoint2DModifier and TypeMethodDescriptionprotected voidMoveHandle.doTranslateFigure(Figure f, CssPoint2D oldPoint, CssPoint2D newPoint, @Nullable DrawingModel model) protected @Nullable AbstractConnectorHandle.ConnectorAndConnectedFigureAbstractConnectorHandle.find(CssPoint2D pointInWorld, ConnectingFigure o, ConnectableFigure cff, javafx.scene.input.MouseEvent mouseEvent, double tolerance) static voidMoveHandle.translateFigure(Figure f, CssPoint2D oldPoint, 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(ConnectingFigure figure, NonNullMapAccessor<CssPoint2D> pointKey, MapAccessor<Connector> connectorKey, MapAccessor<Figure> targetKey) LabelConnectorHandle(ConnectingFigure figure, NonNullMapAccessor<CssPoint2D> originKey, NonNullMapAccessor<CssPoint2D> pointKey, MapAccessor<Connector> connectorKey, MapAccessor<Figure> targetKey) LineConnectorHandle(ConnectingFigure figure, NonNullMapAccessor<CssPoint2D> pointKey, MapAccessor<Connector> connectorKey, 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 TypeMethodDescriptionorg.jhotdraw8.base.converter.Converter<CssPoint2D> CssPoint2DStyleableKey.getCssConverter()org.jhotdraw8.base.converter.Converter<CssPoint2D> CssPoint2DStyleableMapAccessor.getCssConverter()org.jhotdraw8.base.converter.Converter<CssPoint2D> SymmetricCssPoint2DStyleableMapAccessor.getCssConverter()Methods in org.jhotdraw8.draw.key with parameters of type CssPoint2DModifier and TypeMethodDescriptionImmutableMap<Key<?>, Object> CssPoint2DStyleableMapAccessor.put(ImmutableMap<Key<?>, Object> a, @Nullable CssPoint2D value) ImmutableMap<Key<?>, Object> SymmetricCssPoint2DStyleableMapAccessor.put(ImmutableMap<Key<?>, Object> a, @Nullable CssPoint2D value) voidCssPoint2DStyleableMapAccessor.set(Map<? super Key<?>, Object> a, @Nullable CssPoint2D value) voidSymmetricCssPoint2DStyleableMapAccessor.set(Map<? super Key<?>, Object> a, @Nullable CssPoint2D value) Constructors in org.jhotdraw8.draw.key with parameters of type CssPoint2DModifierConstructorDescriptionCssPoint2DStyleableKey(String key, CssPoint2D defaultValue) Creates a new instance with the specified name, type token class, default value, and allowing or disallowing null values.CssPoint2DStyleableKey(String key, CssPoint2D defaultValue, CssConverter<CssPoint2D> converter) Constructor parameters in org.jhotdraw8.draw.key with type arguments of type CssPoint2DModifierConstructorDescriptionCssPoint2DStyleableKey(String key, CssPoint2D defaultValue, CssConverter<CssPoint2D> converter) CssPoint2DStyleableMapAccessor(String name, NonNullMapAccessor<CssSize> xKey, NonNullMapAccessor<CssSize> yKey, 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(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, CssPoint2D c1, CssPoint2D c2, DrawingModel dm) protected voidLineCreationTool.reshapeInLocal(Figure figure, CssPoint2D c1, CssPoint2D c2, 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)