Class Rectangle2DMapAccessor

java.lang.Object
org.jhotdraw8.draw.key.AbstractMapAccessor<javafx.geometry.Rectangle2D>
org.jhotdraw8.draw.key.Rectangle2DMapAccessor
All Implemented Interfaces:
CompositeMapAccessor<javafx.geometry.Rectangle2D>, MapAccessor<javafx.geometry.Rectangle2D>

public class Rectangle2DMapAccessor extends AbstractMapAccessor<javafx.geometry.Rectangle2D>
Rectangle2DStyleableMapAccessor.
Author:
Werner Randelshofer
  • Constructor Details

    • Rectangle2DMapAccessor

      public Rectangle2DMapAccessor(String name, MapAccessor<Double> xKey, MapAccessor<Double> yKey, MapAccessor<Double> widthKey, MapAccessor<Double> heightKey)
      Creates a new instance with the specified name.
      Parameters:
      name - the name of the accessor
      xKey - the key for the x coordinate of the rectangle
      yKey - the key for the y coordinate of the rectangle
      widthKey - the key for the width of the rectangle
      heightKey - the key for the height of the rectangle
  • Method Details