用户工具

站点工具


侧边栏



Unity3D中文文档

script:unityengine:enumerations:textanchor:textanchor

TextAnchor 文本锚点

Description 描述

Where the anchor of the text is placed.

This is used by GUIText.anchor property.

See Also: GUI Text component.

文本被放置在哪里锚点。

应用于GUIText.anchor property上使用。

参见:GUI Text component.

Variables 变量

UpperLeftText is anchored in upper left corner.
文本被固定在左上角。
UpperCenterText is anchored in upper side, centered horizontally.
文本被固定在上方,并水平居中。
UpperRightText is anchored in upper right corner.
文本被固定在右上角。
MiddleLeftText is anchored in left side, centered vertically.
文本被固定在左侧,并垂直居中。
MiddleCenterText is centered both horizontally and vertically.
文本水平垂直居中。
MiddleRightText is anchored in right side, centered vertically.
文本被固定在右侧,并垂直居中。
LowerLeftText is anchored in lower left corner.
文本被固定在左下角。
LowerCenterText is anchored in lower side, centered horizontally.
文本被固定在下方,并水平居中。
LowerRightText is anchored in lower right corner.
文本被固定在右下角。
script/unityengine/enumerations/textanchor/textanchor.txt · 最后更改: 2016/10/08 08:00 由 emjo