Enumeration of anchor points.
[Flags]
|
|||||
enum
|
Anchor
|
Left Right +----+-----+ Top | _____ | | / ____| | | | | __ | +-| |-|_ |-+ Center | | |__| | | +--\_. ._|-+ Base | | | | | |_| | +----+-----+ Bottom CenterIf the baseline is not applicable, the bottom line will be used instead.
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.BaseAnchor.Bottom |
Base
|
= 0x02
|
Base anchor. Remarks: Defaults to center of baseline, unless combined with Left or Right. +----+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | ###\_. ._|## | | | | | |_| | +----+-----+ See also: Anchor.TopAnchor.Bottom |
Bottom
|
= 0x04
|
Bottom anchor. Remarks: Defaults to center of bottom edge, unless combined with Left or Right. +----+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | +--\_. ._|-+ | | | | | |_| | ############ See also: Anchor.TopAnchor.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:
Remarks:
###---+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | +--\_. ._|-+ | | | | | |_| | +----+-----+ |
TopRight
|
= 0x11
|
Shortcut
for:
Remarks:
+----+----### | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | +--\_. ._|-+ | | | | | |_| | +----+-----+ |
BaseLeft
|
= 0x0A
|
Shortcut
for:
Remarks:
+----+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | ###-\_. ._|-+ | | | | | |_| | +----+-----+ |
BaseRight
|
= 0x12
|
Shortcut
for:
Remarks:
+----+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | +--\_. ._|### | | | | | |_| | +----+-----+ |
BottomLeft
|
= 0x0C
|
Shortcut
for:
Remarks:
+----+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | +--\_. ._|-+ | | | | | |_| | ###---+-----+ |
BottomRight
|
= 0x14
|
Shortcut
for:
Remarks:
+----+-----+ | _____ | | / ____| | | | | __ | +-| |-|_ |-+ | | |__| | | +--\_. ._|-+ | | | | | |_| | +----+----### |
Vertical
|
= 0x07
|
Bitmask for getting the vertical anchors. |
Horizontal
|
= 0x18
|
Bitmask for getting the horizontal anchors. |