| Package | Description |
|---|---|
| org.carrot2.labs.smartsprites |
Data model classes and CSS sprite building.
|
| Modifier and Type | Field and Description |
|---|---|
Map<SpriteReferenceOccurrence,SpriteReferenceReplacement> |
SpriteImage.spriteReferenceReplacements
All
SpriteReferenceReplacements corresponding to the individual images this
sprite image consists of. |
| Modifier and Type | Method and Description |
|---|---|
SpriteReferenceReplacement |
SpriteReferenceOccurrence.buildReplacement(SpriteImageDirective.SpriteImageLayout layout,
int offset)
Returns the
SpriteReferenceReplacement corresponding to the occurrence,
taking into account the layout the the enclosing sprite and the offset at which the
individual image was rendered. |
| Constructor and Description |
|---|
SpriteImage(BufferedImage sprite,
SpriteImageOccurrence spriteImageOccurrence,
Map<SpriteReferenceOccurrence,SpriteReferenceReplacement> spriteReplacements,
int width,
int height,
float scale) |
Copyright © 2013 Carrot Search s.c.. All Rights Reserved.