HasAnchor
o1.world.objects.HasAnchor
A supertype for objects that have an anchoring point.
Attributes
- Graph
-
- Supertypes
- Known subtypes
Members list
Inherited
- Not inherited
- HasSize
A supertype for objects that have an anchoring point.
Returns the x coordinate of the anchoring point within this object, relative to the object’s left edge.
Returns the x coordinate of the anchoring point within this object, relative to the object’s left edge.
Returns the y coordinate of the anchoring point within this object, relative to the object’s top edge.
Returns the y coordinate of the anchoring point within this object, relative to the object’s top edge.
the location of this object’s center: the average point between its edges, expressed in coordinates relative to the object’s top left-hand corner
the location of this object’s center: the average point between its edges, expressed in coordinates relative to the object’s top left-hand corner
this object’s height: the distance from its top edge to its bottom edge
this object’s height: the distance from its top edge to its bottom edge