Class SimpleGeometry
java.lang.Object
com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
com.vaadin.flow.component.map.configuration.geometry.SimpleGeometry
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Point
Abstract base class for geometries
- See Also:
-
Field Summary
Fields inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
propertyChangeSupport
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
translate
(double deltaX, double deltaY) Translate the geometry by the specified deltaMethods inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
addChild, addNullableChild, addPropertyChangeListener, collectChanges, deepMarkAsDirty, getId, getType, markAsDirty, notifyChange, notifyChange, removeChild, removePropertyChangeListener, setId, update
-
Constructor Details
-
SimpleGeometry
public SimpleGeometry()
-
-
Method Details
-
translate
public abstract void translate(double deltaX, double deltaY) Translate the geometry by the specified delta- Parameters:
deltaX
- amount to move on x-axisdeltaY
- amount to move on y-axis
-