Comments (8)
- G 4.0 会提供官网,包含使用教程、API 文档、Demo,可以关注这个 #172.
from g.
同求marker 文档
from g.
同求
from g.
加1
from g.
- 可以参考以下示例:
import { Canvas } from "@antv/g";
const canvas = new Canvas({
containerId: "root",
width: 400,
height: 400
});
const group = canvas.addGroup();
const circle = group.addShape("marker", {
attrs: {
x: 50,
y: 100,
r: 10,
lineWidth: 2,
stroke: "blue",
fill: "red"
symbol: "circle" // square, diamond, triangle, triangle-down,
}
});
canvas.draw();
from g.
@dengfuping 能给出具体4.0发布时间吗?
from g.
@cookHu 已经有 beta 版发布了,4.0 不同的渲染模式拆成了不同的包
-
Canvas 版: @antv/g-canvas
-
SVG 版: @antv/g-svg
-
4.0 的官网和完整文档要等 11.22 才能放出了。
from g.
- Marker 文档可见 https://g.antv.vision/zh/docs/api/shape/marker
from g.
Related Issues (20)
- [g-plugin-canvas-renderer] 脏矩形渲染残影
- [g] Group 的 setLocalPosition 与 style.x / y 效果不一致
- [g-plugin-device-renderer] markerStart/End 移除时报错 parentNode 为 null
- [g] 贝塞尔曲线画出的动画不对
- [g-canvas] ClipPath 不应受到 depth 影响
- Group是否无法设置变换中心
- 我在electron项目中使用官方示例代码来尝试使用webgpu,求助 HOT 3
- [g-plugin-device-render] 超出一定数目的图形未被渲染出来
- [react-g] 支持 createRoot 以及 render
- insertBefore 插入的位置不对 HOT 1
- 求助:文本渐变色无法起作用 HOT 1
- 关于group里面事件的疑惑,不知道是不是bug HOT 3
- [g] Image 支持获知何时图片加载完成 HOT 1
- [g-svg] 关闭 CSS 解析后生成的 SVG 结构不正常
- [g-plugin-device-renderer] Path 渲染有误 HOT 1
- [g-plugin-device-renderer] WebGPU 不支持 divisor
- [g] timing 对象上 easingFunction 类型报错 HOT 1
- [g] 多个画布下可交互 HTML 造成页面卡死
- How to cut a hole in a shape or closed path using antvis/g.
- [g-canvas] stroke 为空字符串时计算包围盒有误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from g.