XYAdjustHandle Class
An XY-based adjustment handle in a custom shape.
Declaration
public class XYAdjustHandle extends AdjustHandleBase
Inherited Members
Inheritance
Constructors
XYAdjustHandle() Constructor
Initializes a new instance of the XYAdjustHandle class.
Declaration
public XYAdjustHandle()
XYAdjustHandle(String horizontalGuide, String verticalGuide, AdjustCoordinate minX, AdjustCoordinate maxX, AdjustCoordinate minY, AdjustCoordinate maxY, AdjustPoint position) Constructor
Initializes a new instance of the XYAdjustHandle class with specified settings.
Declaration
public XYAdjustHandle(String horizontalGuide, String verticalGuide, AdjustCoordinate minX, AdjustCoordinate maxX, AdjustCoordinate minY, AdjustCoordinate maxY, AdjustPoint position)
Parameters
| Name | Type | Description |
|---|---|---|
| horizontalGuide | String | The name of the guide updated with the X position. |
| verticalGuide | String | The name of the guide updated with the Y position. |
| minX | AdjustCoordinate | The minimum X-coordinate adjustment. |
| maxX | AdjustCoordinate | The maximum X-coordinate adjustment. |
| minY | AdjustCoordinate | The minimum Y-coordinate adjustment. |
| maxY | AdjustCoordinate | The maximum Y-coordinate adjustment. |
| position | AdjustPoint | The position of the adjustment handle. |
Methods
deepClone() Method
Clones the current XYAdjustHandle instance.
Declaration
public XYAdjustHandle deepClone()
Returns
| Type | Description |
|---|---|
XYAdjustHandle |
The cloned |
getHorizontalGuide() Method
Returns the name of the guide that is updated with the X position from this adjust handle.
Declaration
public String getHorizontalGuide()
Returns
| Type | Description |
|---|---|
| String | The name of the guide. |
getMaxX() Method
Returns the maximum X-coordinate adjustment for the XYAdjustHandle object.
Declaration
public AdjustCoordinate getMaxX()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The maximum X-coordinate adjustment. |
getMaxY() Method
Returns the maximum Y-coordinate adjustment for the XYAdjustHandle object.
Declaration
public AdjustCoordinate getMaxY()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The maximum Y-coordinate adjustment. |
getMinX() Method
Returns the minimum X-coordinate adjustment for the XYAdjustHandle object.
Declaration
public AdjustCoordinate getMinX()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The minimum X-coordinate adjustment. |
getMinY() Method
Returns the minimum Y-coordinate adjustment for the XYAdjustHandle object.
Declaration
public AdjustCoordinate getMinY()
Returns
| Type | Description |
|---|---|
| AdjustCoordinate | The minimum Y-coordinate adjustment. |
getPosition() Method
Returns the position of the adjustment handle.
Declaration
public AdjustPoint getPosition()
Returns
| Type | Description |
|---|---|
| AdjustPoint | The handle’s position. |
getVerticalGuide() Method
Returns the name of the guide that is updated with the Y position from this adjust handle.
Declaration
public String getVerticalGuide()
Returns
| Type | Description |
|---|---|
| String | The name of the guide. |
setHorizontalGuide(String value) Method
Sets the name of the guide that is updated with the X position from this adjust handle.
Declaration
public void setHorizontalGuide(String value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | The name of the guide. |
setMaxX(AdjustCoordinate value) Method
Sets the maximum X-coordinate adjustment for the XYAdjustHandle object.
Declaration
public void setMaxX(AdjustCoordinate value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | AdjustCoordinate | The maximum X-coordinate adjustment. |
setMaxY(AdjustCoordinate value) Method
Sets the maximum Y-coordinate adjustment for the XYAdjustHandle object.
Declaration
public void setMaxY(AdjustCoordinate value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | AdjustCoordinate | The maximum Y-coordinate adjustment. |
setMinX(AdjustCoordinate value) Method
Sets the minimum X-coordinate adjustment for the XYAdjustHandle object.
Declaration
public void setMinX(AdjustCoordinate value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | AdjustCoordinate | The minimum X-coordinate adjustment. |
setMinY(AdjustCoordinate value) Method
Sets the minimum Y-coordinate adjustment for the XYAdjustHandle object.
Declaration
public void setMinY(AdjustCoordinate value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | AdjustCoordinate | The minimum Y-coordinate adjustment. |
setPosition(AdjustPoint value) Method
Sets the position of the adjustment handle.
Declaration
public void setPosition(AdjustPoint value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | AdjustPoint | The handle’s position. |
setVerticalGuide(String value) Method
Sets the name of the guide that is updated with the Y position from this adjust handle.
Declaration
public void setVerticalGuide(String value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | The name of the guide. |