Placeholder$Typings extension
- on
Properties
- padding ↔ Object
-
Available on Placeholder, provided by the Placeholder$Typings extension
Gets or sets the padding around the members of the Group or around the Adornment#adornedObject GraphObject. The initial value is a Margin of zero on all sides.getter/setter pair
Methods
-
computeBorder(
Rect result) → Rect -
Available on Placeholder, provided by the Placeholder$Typings extension
(undocumented) This is only called when the Placeholder is inside a Group. Normally this just returns the result of #computeMemberBounds expanded by the #padding. However, if Group#computesBoundsAfterDrag is true, and if the Diagram#currentTool is the DraggingTool, and if this Group is not being dragged, this method returns the last value of #computeBorder before dragging began. -
computeMemberBounds(
Rect result) → Rect -
Available on Placeholder, provided by the Placeholder$Typings extension
(undocumented) Compute the union of the Bounds of this Placeholder's parent's Group.memberParts. If there are no members, this returns a Rect with Width and Height of zero and an X and Y that are this panel's original location in document coordinates. This is only called when the Placeholder is inside a Group.