NGAlignment ScreenAlign EnumerationScoreFlash API Documentation V4.6.0
Alignments and anchors for positioning relative to the screen (or a panel) and positioning relative to an anchor.

Namespace: NarayanaGames.Common.UI
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

public enum ScreenAlign
Members

  Member nameValueDescription
TopLeft-3 Align to the top left of the screen. Position is interpreted as position.x normalized pixels right of left screen border, position.y normalized pixels below top screen border.
MiddleLeft-2 Align to the middle left of the screen. Position is interpreted as position.x normalized pixels right of left screen border, position.y normalized pixels below vertical middle of screen.
BottomLeft-1 Align to the bottom left of the screen. Position is interpreted as position.x normalized pixels right of left screen border, position.y normalized pixels above bottom screen border.
TopCenter0 Align to the top center of the screen. Position is interpreted as position.x normalized pixels right of horizontal center of screen, position.y normalized pixels below top screen border.
MiddleCenter1 Align to the middle center of the screen. Position is interpreted as position.x normalized pixels right of horizontal center of screen, position.y normalized pixels below vertical middle of screen.
BottomCenter2 Align to the bottom center of the screen. Position is interpreted as position.x normalized pixels right of horizontal center of screen, position.y normalized pixels above bottom screen border.
TopRight6 Align to the top right of the screen. Position is interpreted as position.x normalized pixels left of right screen border, position.y normalized pixels below top screen border.
MiddleRight7 Align to the middle right of the screen. Position is interpreted as position.x normalized pixels left of right screen border, position.y normalized pixels below vertical middle of screen.
BottomRight8 Align to the bottom right of the screen. Position is interpreted as position.x normalized pixels left of right screen border, position.y normalized pixels above bottom screen border.
See Also