EntitySetAnchorAndOffset Method |
Set the position and anchor of this entity.
Namespace:
GeonBit.UI.Entities
Assembly:
GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SetAnchorAndOffset(
Anchor anchor,
Vector2 offset
)
Parameters
- anchor
- Type: GeonBit.UI.EntitiesAnchor
New anchor to set. - offset
- Type: Vector2
Offset from new anchor position.
See Also