com.vaadin.flow.component.map.configuration.geometry.
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

public abstract class SimpleGeometry extends AbstractConfigurationObject

Abstract base class for geometries

See Also:

  • 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-axis

      deltaY - amount to move on y-axis