Xoetrope

 Wiki : XMapArea

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Carousel logo

XMapArea

class com.xoetrope.svg.XMapArea

Creates an area within an SVG image based on a set of points.

1. Constructor


public XMapArea()

Creates a new instance of XMapArea.

2. Methods


1. addPoint

public void addPoint( double x, double y )

Method used to add a point, specified by two double coordinates, and re-define the area's bounds.

2. addPoint

public void addPoint( Point2D point )

Method used to add a point, specified by a Point2D, and re-define the area's bounds.

3. contains

public boolean contains( double x, double y )

Method to check if a coordinate, defiined by double x any y coordinates, is contained within the area's bounds.

4. contains

public boolean contains( Point2D point )

Method to check if a coordinate, defiined by a Point2D object, is contained within the area's bounds.

There are no comments on this page. [Add comment]

Page was generated in 0.2720 seconds