Enumeration
AnchorPoint
The reference point on the object's bounding box that does not move during transformation operations. Note: Transformations include rotation, scaling, flipping, and shearing.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1095656035 | readonly | The center point on the bottom of the bounding box. | |
| Number = 1095656044 | readonly | The bottom left corner. | |
| Number = 1095656050 | readonly | The bottom right corner. | |
| Number = 1095656308 | readonly | The center point in the bounding box. | |
| Number = 1095658595 | readonly | The center point on the left side of the bounding box. | |
| Number = 1095660131 | readonly | The center point on the right side of the bounding box. | |
| Number = 1095660643 | readonly | The center point on the top of the bounding box. | |
| Number = 1095660652 | readonly | The top left corner. | |
| Number = 1095660658 | readonly | The top right corner. |
Object of 9
Properties elsewhere that hold an AnchorPoint value.
AnchoredObjectSetting.anchorPointChangeObjectPreference.anchorPointChangeObjectPreference.fittingAlignmentChangeObjectPreference.positionReferencePointFindObjectPreference.anchorPointFindObjectPreference.fittingAlignmentFindObjectPreference.positionReferencePointFrameFittingOption.fittingAlignmentTransformAttributeOption.transformAttrRefAnchorPoint
Parameter of 132
Method parameters that accept an AnchorPoint value.
Button.flipItem(around)Button.resize(from)Button.resolve(location)Button.transform(from)CheckBox.flipItem(around)CheckBox.resize(from)CheckBox.resolve(location)CheckBox.transform(from)ComboBox.flipItem(around)ComboBox.resize(from)ComboBox.resolve(location)ComboBox.transform(from)EPS.flipItem(around)EPS.resize(from)EPS.resolve(location)EPS.transform(from)EPSText.flipItem(around)EPSText.resize(from)EPSText.resolve(location)EPSText.transform(from)EndnoteTextFrame.flipItem(around)EndnoteTextFrame.resize(from)EndnoteTextFrame.resolve(location)EndnoteTextFrame.transform(from)FormField.flipItem(around)FormField.resize(from)FormField.resolve(location)FormField.transform(from)Graphic.flipItem(around)Graphic.resize(from)Graphic.resolve(location)Graphic.transform(from)GraphicLine.flipItem(around)GraphicLine.resize(from)GraphicLine.resolve(location)GraphicLine.transform(from)Group.flipItem(around)Group.resize(from)Group.resolve(location)Group.transform(from)Guide.resolve(location)HtmlItem.flipItem(around)HtmlItem.resize(from)HtmlItem.resolve(location)HtmlItem.transform(from)Image.flipItem(around)Image.resize(from)Image.resolve(location)Image.transform(from)ImportedPage.flipItem(around)ImportedPage.resize(from)ImportedPage.resolve(location)ImportedPage.transform(from)ListBox.flipItem(around)ListBox.resize(from)ListBox.resolve(location)ListBox.transform(from)MasterSpread.resolve(location)MasterSpread.transform(from)MediaItem.flipItem(around)MediaItem.resize(from)MediaItem.resolve(location)MediaItem.transform(from)Movie.flipItem(around)Movie.resize(from)Movie.resolve(location)Movie.transform(from)MultiStateObject.flipItem(around)MultiStateObject.resize(from)MultiStateObject.resolve(location)MultiStateObject.transform(from)Oval.flipItem(around)Oval.resize(from)Oval.resolve(location)Oval.transform(from)PDF.flipItem(around)PDF.resize(from)PDF.resolve(location)PDF.transform(from)PICT.flipItem(around)PICT.resize(from)PICT.resolve(location)PICT.transform(from)Page.resize(from)Page.resolve(location)Page.transform(from)PageItem.flipItem(around)PageItem.resize(from)PageItem.resolve(location)PageItem.transform(from)Polygon.flipItem(around)Polygon.resize(from)Polygon.resolve(location)Polygon.transform(from)RadioButton.flipItem(around)RadioButton.resize(from)RadioButton.resolve(location)RadioButton.transform(from)Rectangle.flipItem(around)Rectangle.resize(from)Rectangle.resolve(location)Rectangle.transform(from)SVG.flipItem(around)SVG.resize(from)SVG.resolve(location)SVG.transform(from)SignatureField.flipItem(around)SignatureField.resize(from)SignatureField.resolve(location)SignatureField.transform(from)Sound.flipItem(around)Sound.resize(from)Sound.resolve(location)Sound.transform(from)SplineItem.flipItem(around)SplineItem.resize(from)SplineItem.resolve(location)SplineItem.transform(from)Spread.resolve(location)Spread.transform(from)TextBox.flipItem(around)TextBox.resize(from)TextBox.resolve(location)TextBox.transform(from)TextFrame.flipItem(around)TextFrame.resize(from)TextFrame.resolve(location)TextFrame.transform(from)WMF.flipItem(around)WMF.resize(from)WMF.resolve(location)WMF.transform(from)