NGAlignment MembersScoreFlash API Documentation V4.6.0

The NGAlignment type exposes the following members.
Constructors

  NameDescription
Public methodNGAlignment
Back to Top
Methods

  NameDescription
Public methodStatic memberConvertAlignment
Converts an alignment to another enum (e.g. Unity's built in types, NGUI or EZ GUI).
Public methodStatic memberGetAlignBasedOffset
Returns an offset to render an item anchored via innerAnchor.
Public methodStatic memberGetScreenBasedReferencePosition
Converts pos from relative to screen alignment to a screen position that is relative to screen alignment using align. This also converts pos to pixels (in case we have a high density display).
Public methodStatic memberHorizontal
Returns the horizontal alignment portion of an alignment.
Public methodStatic memberIsBottom
Shortcut to quickly determine whether an alignment is bottom aligned. This is useful because usually, bottom aligned needs to special treatment.
Public methodStatic memberIsRight
Shortcut to quickly determine whether an alignment is right aligned. This is useful because usually, right aligned needs to special treatment.
Public methodStatic memberVertical
Returns the vertical alignment portion of an alignment.
Back to Top
See Also