A text layer. Define the size to wrap text. Change anchor to set text alignment.
文字圖層,能定義容器的大小。更改錨點(diǎn)以設(shè)置文本對(duì)齊方式。
Enable 啟用
A boolean that is true when the layer is displayed.
勾選啟用查看器中才讀取這個(gè)圖層。
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.
用于呈現(xiàn)文本的字體系列。默認(rèn)情況下,在使用正在運(yùn)行的手機(jī)、平板電腦、電腦上的字體。
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 模塊設(shè)置Z軸位置。
板栗:點(diǎn)擊 Position 屬性也可以顯示3個(gè)軸向并設(shè)置值。
Anchor 錨點(diǎn)
The anchor point to position the layer relative to. Determines text alignment.See Coordinates for more information.
位于屏幕中的錨點(diǎn),取保字符對(duì)齊。詳細(xì)信息閱讀Coordinates 坐標(biāo)。
Size 尺寸
The size of the layer. Any text overflowing the width will be wrapped to subsequent lines.
文本框的大小。溢出寬度的文本會(huì)自動(dòng)換行。
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 模塊設(shè)置Z、Y軸角度。
板栗:點(diǎn)擊 Rotation 屬性也可以顯示3個(gè)軸向并設(shè)置值。
Pivot 軸心點(diǎn)
The pivot to rotate and scale the layer about. See Coordinates for more information.
圖層縮放、旋轉(zhuǎn)、移動(dòng)時(shí)的中心點(diǎn)或初始點(diǎn)。詳細(xì)信息閱讀Coordinates 坐標(biāo)。
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.
陰影的不透明度。 默認(rèn)值為0,不顯示陰影。
Shadow Radius 陰影半徑
The blur radius of the shadow.
陰影的模糊半徑值。(板栗:值越大范圍越大,顏色越淡。)
Shadow Offset 陰影偏移
The size of the shadow relative to the size of the layer.
陰影相對(duì)于圖層的距離和角度。
Character Spacing 字間距
A number that represents the horizontal space between characters, in dp.
表示字符之間的水平間距的數(shù)字,單位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.
表示兩個(gè)段落之間的距離,單位dp。
全部圖層,查看 圖層目錄
Related Patches 相關(guān)模塊
Text Size,Text Length
Related Layers 相關(guān)圖層
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