Constructor and Description |
---|
Shape() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBottomAttach()
Gets the bottom attached section handle.
|
double |
getBottomAttachX()
Gets X position of the bottom attached section.
|
double |
getBottomAttachY()
Gets Y position of the bottom attached section
|
int |
getShapeType()
Gets shape type of section.
|
java.lang.String |
getTopAttach()
Gets the top attached section's handle.
|
double |
getTopAttachX()
Gets X position of the top attached section
|
double |
getTopAttachY()
Gets Y position of the top attached section.
|
void |
setBottomAttach(java.lang.String bottomAttach)
Sets the bottom attached section handle.
|
void |
setBottomAttachX(double bottomAttachX)
Sets X position of the bottom attached section.
|
void |
setBottomAttachY(double bottomAttachY)
Sets Y position of the bottom attached section.
|
void |
setTopAttach(java.lang.String topAttach)
Sets the top attached section's handle.
|
void |
setTopAttachX(double topAttachX)
Sets X position of the top attached section.
|
void |
setTopAttachY(double topAttachY)
Sets Y position of the top attached section
Specifies the vertical coordinate of the top left point of the box in a banded panel.
|
public void setTopAttach(java.lang.String topAttach)
topAttach
- The handle of the top attached section.public java.lang.String getTopAttach()
public void setBottomAttach(java.lang.String bottomAttach)
bottomAttach
- The handle of the bottom attached section.public java.lang.String getBottomAttach()
public void setTopAttachX(double topAttachX)
topAttachX
- Value of X position.public double getTopAttachX()
#API.setUnit(int)
,
and the default unit is inch.public void setBottomAttachX(double bottomAttachX)
bottomAttachX
- Value of X position. The unit of the value can be set by #API.setUnit(int)
,
and the default unit is inch.public double getBottomAttachX()
#API.setUnit(int)
,
and the default unit is inch.public void setTopAttachY(double topAttachY)
topAttachY
- Value of Y position. The unit of the value can be set by #API.setUnit(int)
,
and the default unit is inch.public double getTopAttachY()
#API.setUnit(int)
,
and the default unit is inch.public void setBottomAttachY(double bottomAttachY)
bottomAttachY
- Value of Y position. The unit of the value can be set by #API.setUnit(int)
,
and the default unit is inch.public double getBottomAttachY()
#API.setUnit(int)
,
and the default unit is inch.public int getShapeType()
Designer.ARC
Designer.BOX
Designer.LINE
Designer.OVAL
Designer.ROUNDBOX