org.arakhne.neteditor.figlayout
public abstract class AbstractFigureLayout extends Object implements FigureLayout, FigureLayoutConstants, ViewComponentConstants
HALF_MINIMAL_HORIZONTAL_PADDING, HALF_MINIMAL_VERTICAL_PADDINGDEFAULT_ACTIVE_COLOR, DEFAULT_BACKGROUND_SELECTION_COLOR, DEFAULT_DAMAGING_EXTENTS, DEFAULT_DRAW_SHADOW, DEFAULT_FILL_COLOR, DEFAULT_FOREGROUND_SELECTION_COLOR, DEFAULT_LINE_COLOR, DEFAULT_LOCKING_FILL_COLOR, DEFAULT_LOCKING_OUTLINE_COLOR, DEFAULT_MAXIMAL_SIZE, DEFAULT_MINIMAL_SIZE, DEFAULT_MINIMAL_SUBFIGURE_SIZE, DEFAULT_SHADOW_PROJECTION_DISTANCE_X, DEFAULT_SHADOW_PROJECTION_DISTANCE_Y, FLATTENING_PRECISION| Constructor and Description |
|---|
AbstractFigureLayout() |
| Modifier and Type | Method and Description |
|---|---|
Margins |
getMargins()
Replies the external padding of each figure.
|
Point2D |
getOrigin()
Replies the coordinates of the origin.
|
void |
setMargins(Margins insets)
Set the external padding of each figure.
|
void |
setOrigin(float x,
float y)
Set the coordinates of the origin.
|
void |
setOrigin(Point2D point)
Set the coordinates of the origin.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlayoutFigurespublic Margins getMargins()
public void setMargins(Margins insets)
insets - is the external padding.public Point2D getOrigin()
public void setOrigin(Point2D point)
point - is the coordinates of the origin.public void setOrigin(float x,
float y)
x - y - Copyright © 2001-2013 NetEditor Developers. 
NetEditor API Documentation by NetEditor Developers is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at www.arakhne.org/neteditor