We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.map.configuration.geometry.
Class SimpleGeometry
java.lang.Object
com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
com.vaadin.flow.component.map.configuration.geometry.SimpleGeometry
All Implemented Interfaces:
Direct Known Subclasses:
Abstract base class for geometries
See Also:
-
Field Summary
Fields inherited from class com.vaadin.flow.component.map.configuration.AbstractConfigurationObject
propertyChangeSupport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
translate
(double deltaX, double deltaY) Translate the geometry by the specified delta
Methods 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
-