首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >@recogito/注解:始终在矩形下显示注解

@recogito/注解:始终在矩形下显示注解
EN

Stack Overflow用户
提问于 2021-07-20 23:40:56
回答 1查看 122关注 0票数 0

我正在使用https://github.com/recogito/annotorious在图像上绘制注释。

我想始终显示注释文本。

下面是我正在尝试的代码。

代码语言:javascript
复制
const anno = Annotorious.init({
    image: 'test',
    locale: 'auto',
    widgets: [{ widget: 'COMMENT' }],
});
         
// This is I am trying, but, this is not that function, Is there other option or plugin ?
anno.setVisible(true);

还有没有其他的选择或者插件?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-08-16 05:00:13

如果您希望文本始终显示,则应查看形状标签插件:https://github.com/recogito/recogito-client-plugins/tree/main/packages/annotorious-shape-labels

它将在注释中显示三个第一个标签,但您可以轻松地调整代码以显示注释等内容。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68457723

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档