透明//Transparent 半透明//Translucent import android.app.Activity; import android.content.Context; import ...
这两种都可以用来画线,前一种将整条线加入后画出,后一种对每个点进行和前一个点的连线。 sample void drawLine: YJLines line intcount line.pointscount CGPointaddLines count for intj j lt line.pointscount j CGPointpoint CGPointFromString NSString l ...
2012-03-17 14:57 0 6900 推荐指数:
透明//Transparent 半透明//Translucent import android.app.Activity; import android.content.Context; import ...
设置颜色的不透明度,一般用于调整background-color、color、box-shadow等的不透明度,后代元素不会一起跟着透明 ( ) ...
1.设置半透明主题 2.设置window的alpha值 // WindowManager.LayoutParams lp = getWindow().getAttributes ...
...
%,0%最暗,100%最亮。 A是不透明度,取值在0.0~1.0,0.0完全透明,1.0完全不透明。 ...
AlphaBlend 函数功能:该函数用来显示透明或半透明像素的位图。 函数原型: 参数: AlphaBlend返回值:如果函数执行成功,那么返回值 ...
用CSS控制外层DIV不透明,而内层DIV透明,这样实现的效果是意想不到的,还不错吧,其实代码也是很简单的,也很好理解,主要是用了CSS的滤镜。 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta ...
就一句话 background: rgba(0, 0, 0, .2); ...