|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.svg.ViewBoxModifier
public class ViewBoxModifier
Copyright (c) Formaria Ltd., 2008, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Formaria.
$Revision: 1.2 $
| Field Summary | |
|---|---|
protected SvgImageMap |
imageMap
|
protected PointSystem |
pointSystem
|
| Constructor Summary | |
|---|---|
ViewBoxModifier(SvgImageMap imageMap)
Creates a new instance of ViewBoxPosition |
|
| Method Summary | |
|---|---|
void |
setPosition(double x,
double y)
Sets the viewboxs centre position on the map. |
void |
setSize(double w,
double h)
Sets the size of the view box. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SvgImageMap imageMap
protected PointSystem pointSystem
| Constructor Detail |
|---|
public ViewBoxModifier(SvgImageMap imageMap)
imageMap - the SvgImageMap instance used by this class.| Method Detail |
|---|
public void setPosition(double x,
double y)
x - double specifying the x coordinate of the view box's centre position.y - double specifying the y coordinate of the view box's centre position.
public void setSize(double w,
double h)
w - double specifying the new width of the viewBox.h - double specifying the new width of the viewBox.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||