All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codename1.charts.views.ClickableArea Maven / Gradle / Ivy

There is a newer version: 7.0.161
Show newest version
/**
 * Copyright (C) 2009 - 2013 SC 4ViewSoft SRL
 *  
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *  
 *      http://www.apache.org/licenses/LICENSE-2.0
 *  
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.codename1.charts.views;

import com.codename1.ui.geom.Rectangle2D;



public class ClickableArea {
  private Rectangle2D rect;
  private double x;
  private double y;

  public ClickableArea(Rectangle2D rect, double x, double y) {
    super();
    this.rect = rect;
    this.x = x;
    this.y = y;
  }

  public Rectangle2D getRect() {
    return rect;
  }

  public double getX() {
    return x;
  }

  public double getY() {
    return y;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy