Sha256: f7030df1c0533cbea37d5bec7b78ed1601790cce3e5af0f2f19ccb6142068bec

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.ad l
.
.TH "POLYMER\-POSITION" "1" "February 2011" "POLYMER 1.0.0.BETA.7" "Polymer Manual"
.
.SH "NAME"
\fBpolymer\-position\fR \- Information about your sprite sources
.
.SH "SYNOPSIS"
\fBpolymer position\fR SOURCE
.
.SH "DESCRIPTION"
Shows the position of a \fISOURCE\fR image with a sprite\. This is useful should you wish to manually create your own CSS files, without having to calculate the position of each source yourself\. Also provides you with the basic CSS needed to show the source image\.
.
.P
The \fISOURCE\fR may be the name of a source image in any of your sprites, or a \fISPRITE\fR/\fISOURCE\fR pair\.
.
.P
For example, assuming the following sources\.\.\.
.
.IP "" 4
.
.nf

sources/
  one/
    book\.png
    television\.png
  two/
    magnet\.png
    television\.png
.
.fi
.
.IP "" 0
.
.P
\&\.\.\. \fBpolymer position book\fR will show the position of the book source in the "one" sprite\. \fBpolymer position television\fR will output the position of the television source in both the "one" and "two" sprites\. Finally, \fBpolymer position two/television\fR shows the position of the television source in only the "two" sprite\.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
polymer-1.0.0.beta.7 lib/polymer/man/polymer-position.1