art

WebJar for art

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

art
Последняя версия

Последняя версия

0.10.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

art
WebJar for art
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/sebmarkbage/art

Скачать art

Имя Файла Размер
art-0.10.3.pom
art-0.10.3.jar 101 KB
art-0.10.3-sources.jar 22 bytes
art-0.10.3-javadoc.jar 22 bytes
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/art/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>art</artifactId>
    <version>0.10.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/art/
implementation 'org.webjars.npm:art:0.10.3'
// https://jarcasting.com/artifacts/org.webjars.npm/art/
implementation ("org.webjars.npm:art:0.10.3")
'org.webjars.npm:art:jar:0.10.3'
<dependency org="org.webjars.npm" name="art" rev="0.10.3">
  <artifact name="art" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='art', version='0.10.3')
)
libraryDependencies += "org.webjars.npm" % "art" % "0.10.3"
[org.webjars.npm/art "0.10.3"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

ART

ART is a retained mode vector drawing API designed for multiple output modes. There's also a built-in SVG parser. It uses Node style CommonJS modules.

The first line in your program should select rendering mode by requiring either:

  • art/modes/canvas - HTML5 Canvas
  • art/modes/svg - SVG for modern browsers and vector tools
  • art/modes/vml - VML for Internet Explorer or Office
  • art/modes/script - Code generation for ART modules
  • art/modes/dom - SVG or VML depending on environment
  • art/modes/fast - Canvas, SVG or VML depending on environment

These modules exposes four core rendering classes:

  • Surface - Required rectangular rendering area. Container for the rest.
  • Group - Container for Shapes, Text or other Groups.
  • Shape - Fill and/or stroke an arbitrary vector path.
  • Text - Fill and/or stroke text content rendered using native fonts.

There are also helper classes to work with vector paths, 3x3 transformation matrices, colors, morphing, common shapes etc.

#Demos

See ./demos

Версии библиотеки

Версия
0.10.3