sprites

Android support for Sprites

Лицензия

Лицензия

MIT
Группа

Группа

ch.poole.android
Идентификатор

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

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

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

0.0.4
Дата

Дата

Тип

Тип

aar
Описание

Описание

sprites
Android support for Sprites
Ссылка на сайт

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

https://github.com/simonpoole/Sprites
Система контроля версий

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

https://github.com/simonpoole/Sprites.git

Скачать sprites

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

<!-- https://jarcasting.com/artifacts/ch.poole.android/sprites/ -->
<dependency>
    <groupId>ch.poole.android</groupId>
    <artifactId>sprites</artifactId>
    <version>0.0.4</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/ch.poole.android/sprites/
implementation 'ch.poole.android:sprites:0.0.4'
// https://jarcasting.com/artifacts/ch.poole.android/sprites/
implementation ("ch.poole.android:sprites:0.0.4")
'ch.poole.android:sprites:aar:0.0.4'
<dependency org="ch.poole.android" name="sprites" rev="0.0.4">
  <artifact name="sprites" type="aar" />
</dependency>
@Grapes(
@Grab(group='ch.poole.android', module='sprites', version='0.0.4')
)
libraryDependencies += "ch.poole.android" % "sprites" % "0.0.4"
[ch.poole.android/sprites "0.0.4"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
androidx.annotation » annotation jar 1.0.0
androidx.core » core jar 1.0.0
com.google.code.gson : gson jar 2.8.6

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

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

Android Sprite Library

Tiny library that provides sprite support.

Usage

    ...
	Sprites sprites = new Sprites(context, sheetInputStream, imageInputStream);
	....
	Bitmap icon = sprites.get("an icon");

Including in your project

Add the following to your build.gradle file(s):

repositories {
    mavenCentral()
}
dependencies {
    implementation 'ch.poole.android:sprites:0.0.4'
}

Legal

Sources used for testing: Maki icons are from https://labs.mapbox.com/maki-icons/, the sprite icon sheet and image are from https://github.com/maputnik/osm-liberty

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

Версия
0.0.4
0.0.3