svg-objects

Provides a few (JSP) servlet that produce simple parameterized SVG images. If you quickly need an image of a blue circle or something like that, simply take a dependency on this jar.

Лицензия

Лицензия

Группа

Группа

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

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

svg-objects
Последняя версия

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

0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

svg-objects
Provides a few (JSP) servlet that produce simple parameterized SVG images. If you quickly need an image of a blue circle or something like that, simply take a dependency on this jar.
Ссылка на сайт

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

https://github.com/mihxil/svg-objects
Система контроля версий

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

https://github.com/mihxil/svg-objects

Скачать svg-objects

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

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

Зависимости

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

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

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

Maven Central Build Status snapshots

svg-objects

Provides some simple parameterized SVG objects as web-fragments. Implemented in JSP(X)

This can be used in serlvet environment.

Take a dependency like so:

 <dependency>
   <groupId>org.meeuw</groupId>
   <artifactId>svg-objects</artifactId>
   <version>0.1</version>
 </dependency>

The name of the web-fragment is 'svgobjects', which you may want to include in web.xml/absolute-ordering

spinner

Use: ${pageContext.request.contextPath}/meeuw/spinner?<params>

A parameterized SVG spinner in JSPX

If you have a servlet environment, than you can simply generate an SVG spinner using JSP. E.g. like this.

It can be parameterized and there is no need to generate these kind of things beforehand.

This version has the following parameters:

  <c:set var="size" value="${empty param.size ? 64 : param.size}" />
  <!-- the square size of the spinner -->

  <c:set var="color" value="${empty param.color ? '#ed6d1c' : param.color}" />
  <!-- the fill color of the circles making up the spinner -->

  <c:set var="circles" value="${empty param.circles ? 7 : param.circles}" />
  <!-- The number of circles the spinner should be made up off -->

  <c:set var="steps" value="${empty param.steps ? 50 : param.steps}" />
  <!-- The number of steps used in one cycle of the animation -->

  <c:set var="dur" value="${empty param.dur ? '1500ms' : param.dur}" />
  <!-- The duration of one cycle of the animation -->

And the default then renders like so:

circle

Use: ${pageContext.request.contextPath}/meeuw/circle?<params>

polygon

Use: ${pageContext.request.contextPath}/meeuw/polygon?<params>

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

Версия
0.1