iOS:色彩实际上做了什么? [英] iOS: What does tint color actually do?

查看:88
本文介绍了iOS:色彩实际上做了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设分段控件的色调颜色设置为RGB(69,175,225),但颜色选择器的实际颜色范围从(最顶部)RGB(146,181,211)到(最底部)RGB(82, 118,147)。

Suppose a segmented control's tint color is set to RGB(69, 175, 225) but the actually color from color picker range from (top most) RGB(146, 181, 211) to (bottom most) RGB(82, 118, 147).

那么我怎么能期望分段控件的实际显示颜色。例如,如果我想最底部的颜色是RGB(69,175,225),我应该设置什么RGB值?

So how can I expect the actually displayed color of the segmented control. For example, if I want the color of the bottom most point is RGB(69, 175, 225), what is the RGB value should I set?

推荐答案

色调是一种颜色,在其上应用了一些奇特的视觉效果(光泽反射等)。 iOS将它们应用于应用程序图标,标签栏,导航栏和许多其他内容。考虑到这些视觉效果从UIElement到UIElement以及可能从一个OS版本变化,我认为对于给定色调对给定像素的局部颜色做出任何假设是错误的。另一个。

The tint is a color on which some fancy visual effects (glossy reflections and so on) is applied. iOS applies them to app icons, tab bars, navigation bars and many other things. I think it would be wrong for you to make any assumptions as to what the local color for a given pixel is for a given tint, given these visual effects vary from UIElement to UIElement and probably from one OS version to another.

这篇关于iOS:色彩实际上做了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆