EntityGetRelativeOffset Method |
Return the relative offset, in pixels, from parent top-left corner.
Namespace:
GeonBit.UI.Entities
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public Vector2 GetRelativeOffset()
Return Value
Type:
Vector2Calculated offset from parent top-left corner.
Remarks
This return the offset between the top left corner of this entity regardless of anchor type.
See Also