TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

enum Anchor in Tinman.AddOns.Rendering

Enumeration of anchor points.

[Flags]
enum Anchor  

Remarks

Left      Right
 +----+-----+ Top
 |   _____  |
 |  / ____| |
 | | |  __  |
 +-| |-|_ |-+ Center
 | | |__| | |
 +--\_. ._|-+ Base
 |    | |   |
 |    |_|   |
 +----+-----+ Bottom
     Center
If the baseline is not applicable, the bottom line will be used instead.

Items

Center = 0

Center anchor.

Remarks:

+----+-----+
|   _____  |
|  / ____| |
| | |  __  |
+-| |#|_ |-+
| | |__| | |
+--\_. ._|-+
|    | |   |
|    |_|   |
+----+-----+

Top = 0x01

Top anchor.

Remarks:

Defaults to center of top edge, unless combined with Left or Right.

############
|   _____  |
|  / ____| |
| | |  __  |
+-| |-|_ |-+
| | |__| | |
+--\_. ._|-+
|    | |   |
|    |_|   |
+----+-----+

See also:

Anchor.Base
Anchor.Bottom
Base = 0x02

Base anchor.

Remarks:

Defaults to center of baseline, unless combined with Left or Right.

+----+-----+
|   _____  |
|  / ____| |
| | |  __  |
+-| |-|_ |-+
| | |__| | |
###\_. ._|##
|    | |   |
|    |_|   |
+----+-----+

See also:

Anchor.Top
Anchor.Bottom
Bottom = 0x04

Bottom anchor.

Remarks:

Defaults to center of bottom edge, unless combined with Left or Right.

+----+-----+
|   _____  |
|  / ____| |
| | |  __  |
+-| |-|_ |-+
| | |__| | |
+--\_. ._|-+
|    | |   |
|    |_|   |
############

See also:

Anchor.Top
Anchor.Base
Left = 0x08

Bottom anchor.

Remarks:

Defaults to center of left edge, unless combined with Top, Base or Right.

#----+-----+
#   _____  |
#  / ____| |
# | |  __  |
#-| |-|_ |-+
# | |__| | |
#--\_. ._|-+
#    | |   |
#    |_|   |
#----+-----+

See also:

Anchor.Right
Right = 0x10

Bottom anchor.

Remarks:

Defaults to center of right edge, unless combined with Top, Base or Bottom.

+----+-----#
|   _____  #
|  / ____| #
| | |  __  #
+-| |-|_ |-#
| | |__| | #
+--\_. ._|-#
|    | |   #
|    |_|   #
+----+-----#

See also:

Anchor.Left
TopLeft = 0x09

Shortcut for: Top | Left.

Remarks:

###---+-----+
 |   _____  |
 |  / ____| |
 | | |  __  |
 +-| |-|_ |-+
 | | |__| | |
 +--\_. ._|-+
 |    | |   |
 |    |_|   |
 +----+-----+

TopRight = 0x11

Shortcut for: Top | Right.

Remarks:

+----+----###
|   _____  |
|  / ____| |
| | |  __  |
+-| |-|_ |-+
| | |__| | |
+--\_. ._|-+
|    | |   |
|    |_|   |
+----+-----+

BaseLeft = 0x0A

Shortcut for: Base | Left.

Remarks:

 +----+-----+
 |   _____  |
 |  / ____| |
 | | |  __  |
 +-| |-|_ |-+
 | | |__| | |
###-\_. ._|-+
 |    | |   |
 |    |_|   |
 +----+-----+

BaseRight = 0x12

Shortcut for: Base | Right.

Remarks:

+----+-----+
|   _____  |
|  / ____| |
| | |  __  |
+-| |-|_ |-+
| | |__| | |
+--\_. ._|###
|    | |   |
|    |_|   |
+----+-----+

BottomLeft = 0x0C

Shortcut for: Bottom | Left.

Remarks:

 +----+-----+
 |   _____  |
 |  / ____| |
 | | |  __  |
 +-| |-|_ |-+
 | | |__| | |
 +--\_. ._|-+
 |    | |   |
 |    |_|   |
###---+-----+

BottomRight = 0x14

Shortcut for: Bottom | Right.

Remarks:

+----+-----+
|   _____  |
|  / ____| |
| | |  __  |
+-| |-|_ |-+
| | |__| | |
+--\_. ._|-+
|    | |   |
|    |_|   |
+----+----###

Vertical = 0x07

Bitmask for getting the vertical anchors.

Horizontal = 0x18

Bitmask for getting the horizontal anchors.