ICode9

精准搜索请尝试: 精确搜索
  • antv-x6图形化建模(二)svg基本操作2022-09-13 16:30:08

    主要关键字 width:宽   。height:高  。cx:圆或椭圆x轴中心坐标。cy圆或椭圆y轴中心坐标。r圆形半径。rx椭圆水平半径。ry椭圆垂直半径。x1,y1,x2,y2表示直线的开始和结束位置坐标。points使用于多边形和多线段,由类似200,10 250,190 160,210的多个坐标点构成。d为path的属性用于描述p

  • geoserver如何配置图层样式(QGIS版SLD格式)2022-09-03 01:33:00

    一、线图层 stroke 颜色: string [r,g,b,a] as int 0-255 or #AARRGGBB as hex or color as color's name stroke-width 宽度 stroke-dasharray 描边样式: [no|solid|dash|dot|dash dot|dash dot dot] stroke-linejoin 连接样式:[bevel|miter|round] stroke-linecap 端点样

  • 【Manim CE】常用Mobject2022-08-28 15:33:30

    当前文档版本:v0.16.0.post0 VMobject 继承自Mobject V的意思是向量化的,vectorized mobject fill_color=None, fill_opacity=0.0, stroke_color=None, stroke_opacity=1.0, stroke_width=DEFAULT_STROKE_WIDTH, background_stroke_color=BLACK, background_stroke_opacity

  • crawl2022-08-25 19:32:41

    Crawl or crawling may refer to: Crawling (human), any of several types of human quadrupedal gait Limbless locomotion, the movement of limbless animals over the ground Undulatory locomotion, a type of motion characterized by wave-like movement patterns th

  • 2. 打勾动画2022-07-02 12:00:50

    一、打勾动画效果 二、完整代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" con

  • checkbox勾选带动画2022-06-25 22:36:08

        <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Checkbox复选框动画效果</title> <meta name="viewport"

  • manim updater animations2022-06-11 16:33:23

    Scene1 创建长方体并移动: class myjob(Scene): def construct(self): box = Rectangle(stroke_color = GREEN_C, stroke_opacity = 0.7, fill_color = RED_B, fill_opacity = 0.5, height = 1, widhth = 1) self.add(box) self.play(box.animate.shi

  • tabs 底部分割线svg实现2022-05-20 17:01:11

    <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1000" height="100"> <path d="M0 50 L400 50 Z" stroke="black" stroke-width="2" fill="none"/> <path

  • Canvas学习与使用2022-05-17 23:36:00

    Canvas学习与使用 <canvas> 是 HTML5 新增的,一个可以使用脚本(通常为 JavaScript) 在其中绘制图像的 HTML 元素。它可以用来制作照片集或者制作简单(也不是那么简单)的动画,甚至可以进行实时视频处理和渲染。 <canvas> 只有两个可选的属性 width、heigth 属性,默认 width为300、heig

  • 画流程图、状态图、时序图、甘特图的JS库-mermaid-js2022-05-12 09:35:27

    参考地址:https://github.com/mermaid-js/mermaid 原生使用方式: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <script src="./js/mermaid.min.js"></script> <script> me

  • 1091 Acute Stroke2022-03-01 14:00:05

    1091 Acute Stroke One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions are identified in each MRI slice, your job is to calculate the volume of the stro

  • canvas画布时钟2022-02-24 18:32:04

    <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>canvas画布</title> </head> <body> <ca

  • 使用脚本控制SVG2022-02-06 21:01:12

    1、脚本控制 <svg width="350px" height="200px" viewBox="0 0 350 200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Accessing Content in SVG</title&

  • canvas基础2022-02-05 16:59:18

    一、canvas介绍 1.canvas是HTML5新增的一个双闭合标签,它目前能够提供2D图形的绘制,为数据可视化提供基础。它就相当于一块画布,js是画笔。为了显示方便,以下的所有例子都给canvas加了1像素的黑色外边框的样式。 2.canvas注意点 --canvas标签浏览器默认是一张300*150像素的图片。 --

  • svg的基本操作2022-01-28 11:58:00

    1.svg:绘制缩放的矢量图形 2.语法  <svg style="width: 1000px;height:1000px ">         <circle r=" 100" cx="500" cy="600" fill="red"></circle>  </svg>     <!-- circle表示绘制的图形为圆形 cx表示圆心距左边的距离 cy

  • canvas+js画时钟2022-01-20 18:58:58

    以下代码可供参考。 <body>         <canvas id="mc" width="300px" height="300px"></canvas>         <script type="text/javascript">             var canvas=document.getElementById("mc");       

  • 巧用 CSS 实现动态线条 Loading 动画2022-01-19 10:33:14

    有群友问我,使用 CSS 如何实现如下 Loading 效果: 这是一个非常有意思的问题。 我们知道,使用 CSS,我们可以非常轻松的实现这样一个动画效果: <div></div> div { width: 100px; height: 100px; border-radius: 50%; border: 2px solid transparent; border-top:

  • 小程序笔记(二)之设置进度条progress的宽度2022-01-09 23:58:58

    实现代码 主要通过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"></pr

  • 鼠标悬浮时圆环顺时针填满的动画实现2022-01-07 18:31:55

      没有弄动图,大概就是悬浮时从0%到100%,一个顺时针充满的效果。 最一开始是想到利用element这的progress环形进度条组件来实现,鼠标移入时将percentage从0设为100,移除时再设为0即可。 底下的那个圆环不想要灰色、中间不想要文字,可以这样设置: /deep/ .el-progress__text{ displa

  • css 实现彩色渐变圆环进度条2021-11-30 18:33:35

    <template> <svg width="440" height="440" viewBox="0 0 440 440"> <defs> <linearGradient x1="1" y1="0" x2="0" y2="0" id="gradient"> &

  • python Pdf 添加 文字 图片 线段 曲线 矩形 椭圆 例子2021-11-28 19:31:35

    from reportlab.pdfbase.pdfmetrics import registerFont from reportlab.pdfbase.ttfonts import TTFont from reportlab.pdfgen.canvas import Canvas pt = 72 / 25.4 class PdfShape: list_curve = [] @classmethod def create_pdf(cls, name='demo1.

  • vue 动态添加组件2021-11-24 10:03:01

    关键: vue 的 :is 属性 最权威的,当然是vue官方说明 这是一个示例: 这段代码中,component 这个组件名在最后会被item.component 的具体值替代。 <template> <component :is="item.component" :config="item.config" v-for="item in list" :key="it

  • 16 归并排序(Merge Sort)2021-11-04 22:33:40

    目录1 题目2 思路2.1 图解2.2 时间复杂度2.3 空间复杂度3 源码 1 题目 题目:Sort Integer II lintcode题号——464,难度——easy 描述:给一组整数,请将其在原地按照升序排序。可使用归并排序,快速排序,堆排序或者任何其他O(n*log n)的排序算法。 样例1: 输入:[3,2,1,4,5], 输出:[1,2,3,4,

  • CSS 实战: Loading 动画2021-11-02 00:03:16

    CSS 实战: Loading 动画 文章目录 CSS 实战: Loading 动画正文1. html 结构2. div 实现样式3. svg 实现样式4. 实现效果 其他资源参考连接完整代码示例 正文 1. html 结构 这里一共实现两种 loading 图样,一个使用 <div> 标签,一个则是 svg 的 <circle> 元素 <div class="

  • HTML5 画布 火柴人实例及代码2021-10-27 11:02:38

    目录 HTML5的画布:在页面中绘制图形的特殊区域            1、H5中的画布标签            2、获取画布            3、获取画笔            4、画直线            5、线条的路径            6、图形填充                7

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有