网站首页 站内搜索

搜索结果

查询Tags标签: radius,共有 102条记录
  • day11---2.9

    这几天做了三个练习 学习真的好难坚持。。。一、盒子的尺寸 默认情况下,盒子可见框大小由内容区,内边距和边框共同决定box-sizing 用来设置盒子尺寸的计算方式(设置width和height的作用)可选值:content-box 默认值,宽度和高度用来设置内容区大小border-box 宽度高度用…

    2022/2/9 23:44:24 人评论 次浏览
  • python PIE游戏

    import math,sys,pygamefrom pygame.locals import *pygame.init()screen=pygame.display.set_mode((600,500))pygame.display.set_caption("The Pie Game-Press1,2,3,4")myfont=pygame.font.Font(None,60)color =200,80,60width=4x=300y=250radius=200position…

    2022/1/17 20:09:12 人评论 次浏览
  • python PIE游戏

    import math,sys,pygamefrom pygame.locals import *pygame.init()screen=pygame.display.set_mode((600,500))pygame.display.set_caption("The Pie Game-Press1,2,3,4")myfont=pygame.font.Font(None,60)color =200,80,60width=4x=300y=250radius=200position…

    2022/1/17 20:09:12 人评论 次浏览
  • 小程序笔记(二)之设置进度条progress的宽度

    实现代码 主要通过stroke-width来控制 <view class="view1"><progress percent="{{30}}" stroke-width="10" border-radius="25" background-color="rgba(255,255,255,0.2)" active-color="#FDD643"…

    2022/1/10 1:03:40 人评论 次浏览
  • 小程序笔记(二)之设置进度条progress的宽度

    实现代码 主要通过stroke-width来控制 <view class="view1"><progress percent="{{30}}" stroke-width="10" border-radius="25" background-color="rgba(255,255,255,0.2)" active-color="#FDD643"…

    2022/1/10 1:03:40 人评论 次浏览
  • 2022.01.06多态练习

    1.什么是多态性?什么是虚拟方法调用? ①父类的引用指向子类的对象; ②父类引用的对象调用子类中同名的方法时,优先调用的是子类重写的方法。对象的多态性:父类的引用指向子类的对象。 Person p = new Man(); p.eat(); 调用方法时,编译时看左边,运行时看右边。 2.一…

    2022/1/7 6:05:45 人评论 次浏览
  • 2022.01.06多态练习

    1.什么是多态性?什么是虚拟方法调用? ①父类的引用指向子类的对象; ②父类引用的对象调用子类中同名的方法时,优先调用的是子类重写的方法。对象的多态性:父类的引用指向子类的对象。 Person p = new Man(); p.eat(); 调用方法时,编译时看左边,运行时看右边。 2.一…

    2022/1/7 6:05:45 人评论 次浏览
  • 475. Heaters

    /** 475. Heaters https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fixed warm radius to warm all the houses. Every house can be warmed, as long as the house is within the …

    2022/1/1 6:07:40 人评论 次浏览
  • 475. Heaters

    /** 475. Heaters https://leetcode.com/problems/heaters/ Winter is coming! During the contest, your first job is to design a standard heater with a fixed warm radius to warm all the houses. Every house can be warmed, as long as the house is within the …

    2022/1/1 6:07:40 人评论 次浏览
  • qt图像生成工具类

    picutil.h–图像生成 #ifndef PICUTIL_H #define PICUTIL_H#include <QPainter> #include <QFont> #include <QBrush> #include <QColor> #include <QPaintDevice> #include <QPaintEngine> #include <QPixmap> #include <Q…

    2021/12/14 23:47:21 人评论 次浏览
  • qt图像生成工具类

    picutil.h–图像生成 #ifndef PICUTIL_H #define PICUTIL_H#include <QPainter> #include <QFont> #include <QBrush> #include <QColor> #include <QPaintDevice> #include <QPaintEngine> #include <QPixmap> #include <Q…

    2021/12/14 23:47:21 人评论 次浏览
  • 自定义View:阴影与模糊

    今天说的这两个效果类的方法:setShadowLayer() 和 setMaskFilter() ,它们设置的是“附加效果”,也就是基于在绘制内容的额外效果。 1.1 setShadowLayer(float radius, float dx, float dy, int shadowColor) 这是在绘制的内容下面加上一层阴影。大概就像下面这样:里面…

    2021/12/6 23:22:51 人评论 次浏览
  • 自定义View:阴影与模糊

    今天说的这两个效果类的方法:setShadowLayer() 和 setMaskFilter() ,它们设置的是“附加效果”,也就是基于在绘制内容的额外效果。 1.1 setShadowLayer(float radius, float dx, float dy, int shadowColor) 这是在绘制的内容下面加上一层阴影。大概就像下面这样:里面…

    2021/12/6 23:22:51 人评论 次浏览
  • Qt QML 在Map中使用实现二维螺旋曲线(螺旋曲线二)

    文章目录 一、演示二、核心代码三、完整代码GitHub 源码: QmlLearningPro QT 其它文章请点击这里: QT 学习笔记 姊妹篇: xxx一、演示可输入半径和间距来调整螺旋曲线的圈数和大小,其中的距离为真实的地理距离,会随着缩放等级而变化的 具体公式可参考,上一篇的文…

    2021/11/29 23:36:19 人评论 次浏览
  • Qt QML 在Map中使用实现二维螺旋曲线(螺旋曲线二)

    文章目录 一、演示二、核心代码三、完整代码GitHub 源码: QmlLearningPro QT 其它文章请点击这里: QT 学习笔记 姊妹篇: xxx一、演示可输入半径和间距来调整螺旋曲线的圈数和大小,其中的距离为真实的地理距离,会随着缩放等级而变化的 具体公式可参考,上一篇的文…

    2021/11/29 23:36:19 人评论 次浏览
扫一扫关注最新编程教程