Unity2017.1官方UGUI文档翻译——Outline

Outline

 描边

The Outline component adds a simple outline effect to graphic components such as Text or Image. It must be on the same GameObject as the graphic component.

描边组件为图形组件(比如Text和Image)添加了一个简单的描边(轮廓)效果。它必须与图形组件在同一个GameObject上

Text with no effect. Text with Outline effect.

Properties

属性

 

Property:Function:
Effect ColorThe color of the outline.
Effect DistanceThe distance of the outline effect horizontally and vertically.
Use Graphic AlphaMultiplies the color of the graphic onto the color of the effect.

属性功能
Effect Color描边的颜色
Effect Distance

描边效果在水平方向和垂直方向的距离(可以这么理解,描边就是复制了4份原图,然后按照距离在原图背后一定偏移的位置显示)

Use Graphic Alpha和前面讲的Shadow一样,表示描边的透明度要不要乘一下原图的透明度

 

转载于:https://www.cnblogs.com/SolarWings/p/8182963.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值