locationSpot property
Spot
get
locationSpot
Gets or sets the location Spot of this Node, the spot on the #locationObject that is used in positioning this part in the diagram.
Value must be of the type Spot.
The initial value is Spot.TopLeft
.
The value must be a specific spot -- i.e. one for which Spot#isSpot is true.
It is commonplace to set this property to Spot.Center
, so that the #location
has a value corresponding to the point at the center of this Part's #locationObject element.
But the GraphObject#position of a Part is always at the top-left corner
point of the GraphObject#actualBounds.
Implementation
_i3.Spot get locationSpot => _i4.getProperty(
this,
'locationSpot',
);
set
locationSpot
(Spot value)
Implementation
set locationSpot(_i3.Spot value) {
_i4.setProperty(
this,
'locationSpot',
value,
);
}