title: HTML5 canvas Label Tutorial
要使用Konva
创建标签,可用于创建带有背景,简单工具提示或带指针提示的文本. 我们可以实例化一个Konva.Lable()
对象.
有关属性和方法的完整列表,请参阅Konva.Lable文档
For a full list of attributes and methods, check out the Konva.Label documentation.
{% iframe /downloads/code/shapes/Label.html %}
{% include_code Konva Label Demo shapes/Label.html %}