Package jmri.jmrit.display.layoutEditor
Class LayoutShape.LayoutShapePoint
- java.lang.Object
-
- jmri.jmrit.display.layoutEditor.LayoutShape.LayoutShapePoint
-
- Enclosing class:
- LayoutShape
public static class LayoutShape.LayoutShapePoint extends java.lang.Object
These are the points that make up the outline of the shape. Each point can be ether a straight or a control point for a curve
-
-
Constructor Summary
Constructors Constructor Description LayoutShapePoint(java.awt.geom.Point2D c)
constructor methodLayoutShapePoint(LayoutShape.LayoutShapePointType t, java.awt.geom.Point2D c)
Constructor method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Point2D
getPoint()
LayoutShape.LayoutShapePointType
getType()
accessor methodsvoid
setPoint(java.awt.geom.Point2D point)
void
setType(LayoutShape.LayoutShapePointType type)
-
-
-
Constructor Detail
-
LayoutShapePoint
public LayoutShapePoint(java.awt.geom.Point2D c)
constructor method- Parameters:
c
- Point2D for initial point
-
LayoutShapePoint
public LayoutShapePoint(LayoutShape.LayoutShapePointType t, java.awt.geom.Point2D c)
Constructor method.- Parameters:
t
- the layout shape point type.c
- Point2D for initial point
-
-
Method Detail
-
getType
public LayoutShape.LayoutShapePointType getType()
accessor methods- Returns:
- the LayoutShapePointType
-
setType
public void setType(LayoutShape.LayoutShapePointType type)
-
getPoint
public java.awt.geom.Point2D getPoint()
-
setPoint
public void setPoint(java.awt.geom.Point2D point)
-
-