Entity.SetPosition Method

GeonBit.UI

EntitySetPosition 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
C#
public void SetPosition(
	Anchor anchor,
	Vector2 offset
)

Parameters

anchor
Type: GeonBit.UI.EntitiesAnchor
New anchor to set.
offset
Type: Vector2
Offset from new anchor position.
See Also