1.13 Layer 图层 - Text Layer 文本图层


A text layer. Define the size to wrap text. Change anchor to set text alignment.
文字图层,能定义容器的大小。更改锚点以设置文本对齐方式。

Enable 启用
A boolean that is true when the layer is displayed.
勾选启用查看器中才读取这个图层。

Text 文本
A text string to display.
要显示的文字。

Font Name 字体名称
The font family with which to render the text. By default, uses the font on the phone, tablet, or computer the prototype is running on.
用于呈现文本的字体系列。默认情况下,在使用正在运行的手机、平板电脑、电脑上的字体。

Font Size 文字尺寸
The size with which to render the text, in dp.
文字大小,单位dp。

Color 颜色
The color of the layer.
图层的颜色。

Position 位置
The position to display the layer. Use Point 3D to set Z position.
位置。使用 Point 3D 模块设置Z轴位置。
板栗:点击 Position 属性也可以显示3个轴向并设置值。

Anchor 锚点
The anchor point to position the layer relative to. Determines text alignment.See Coordinates for more information.
位于屏幕中的锚点,取保字符对齐。详细信息阅读Coordinates 坐标。

Size 尺寸
The size of the layer. Any text overflowing the width will be wrapped to subsequent lines.
文本框的大小。溢出宽度的文本会自动换行。

Opacity 不透明度
The opacity of the layer.
图层的不透明度。

Scale 比例
The scale of the layer.
图层显示的比例。(板栗:1=100%)

Rotation 角度
The rotation of the layer. Use Point 3D to set X or Y rotations.
图层的角度。使用 Point 3D 模块设置Z、Y轴角度。
板栗:点击 Rotation 属性也可以显示3个轴向并设置值。

Pivot 轴心点
The pivot to rotate and scale the layer about. See Coordinates for more information.
图层缩放、旋转、移动时的中心点或初始点。详细信息阅读Coordinates 坐标。

Shadow
Shadow Color 阴影颜色
The color of the shadow.
阴影的颜色。

Shadow Opacity 阴影不透明度
The opacity of the shadow. By default, the opacity is 0, which disables the shadow.
阴影的不透明度。 默认值为0,不显示阴影。

Shadow Radius 阴影半径
The blur radius of the shadow.
阴影的模糊半径值。(板栗:值越大范围越大,颜色越淡。)

Shadow Offset 阴影偏移
The size of the shadow relative to the size of the layer.
阴影相对于图层的距离和角度。

Character Spacing 字间距
A number that represents the horizontal space between characters, in dp.
表示字符之间的水平间距的数字,单位dp。

Line Height 行间距
A number that represents the distance between baselines, in dp.
表示两行文本间的距离,单位dp。

Paragraph Spacing 段落间距
A number that represents the vertical space between paragraphs, in dp.
表示两个段落之间的距离,单位dp。

全部图层,查看 图层目录


Related Patches 相关模块

Text Size,Text Length


Related Layers 相关图层

Text Field 文本输入框


Related Examples 案例

Facebook Notifications
Create a series of notifications entirely out of loops.

Fahrenheit to Celsius
Get to know logic and patches in Origami through temperature conversion.

Instagram Adjust
Use drag to control the Instagram straighten tool.

Instagram Color Picker
Change the text color in an Instagram Stories post.

Instagram Compose
Switch between the Instagram upload options.

Instagram Direct Messages
Send an Instagram direct message to a friend, over and over again.

Instagram Notifications
Switch between notifications with animation.

Instagram Stories Scroll
Tap to switch between read and unread Instagram Stories.

Photo Zoom
Animate between two states when the screen is tapped.

Traffic Light
Transition across three or more states and include logic.
See Example


你可能感兴趣的:(1.13 Layer 图层 - Text Layer 文本图层)