GeonBit.UI Documentation
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)

C#
public Vector2 GetRelativeOffset()
Return Value
Type: Vector2Calculated offset from parent top-left corner.

This return the offset between the top left corner of this entity regardless of anchor type.
