Click or drag to resize
Entity Constructor
Create the entity.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Entity(
	Nullable<Vector2> size = null,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> offset = null
)

Parameters

size (Optional)
Type: SystemNullableVector2
Entity size, in pixels.
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Poisition anchor.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
See Also