zoukankan
html css js c++ java
颜色渐变
颜色渐变
var
I:Word;
Y,YStep:Real;
begin
Y:
=
0
;
//
设置Y方向的初始值
YStep:
=
ClientHeight
/
256
;
//
设置步长
for
I:
=
255
downto
0
do
begin
Canvas.Brush.Color:
=
$
00000000
+
i
*
$
10100
;
//
改变颜色
Canvas.FillRect(Rect(
0
, Round(Y), ClientWidth, Round(Y
+
YStep)));
Y:
=
Y
+
YStep;
end
;
end
;
查看全文
相关阅读:
IO以及file的一些基本方法
异常处理和Throwable中的几个方法
Map的嵌套
Collections
Map接口
Set接口
React生命周期执行顺序详解
当面试官问你GET和POST区别的时候,请这么回答.......
webpack.config.js配置遇到Error: Cannot find module '@babel/core'&&Cannot find module '@babel/plugin-transform-react-jsx' 问题
前端简单实现校招笔试'作弊监听'功能
原文地址:https://www.cnblogs.com/chengxin1982/p/1532325.html
最新文章
Core ML 入门
WWDC 2017 苹果开发者大会
iOS 动态调用方法
iOS APP 如何节省电量和流量研究
ANE报错fix:Could not generate timestamp: Connection reset.
新项目架构小论
RabbitMQ二----' helllo world '
RabbitMQ一
Git简明操作
Django之路由、模板和模型系统
热门文章
Django新手图文教程
Django的Form、CSRF、cookie和session
scrapy 安装详解
各种前端事件
Python SQLAlchemy --3
Python SQLAlchemy --2
字节输出流 FileOutputStream
递归
过滤器
File的创建
Copyright © 2011-2022 走看看