goog.ui.emoji.SpriteInfo
Classgoog.ui.emoji.SpriteInfo(cssClass, opt_url, opt_width, opt_height, opt_xOffset, opt_yOffset,
opt_animated)
Creates a SpriteInfo object with the specified properties. If the image is sprited via CSS, then only the first parameter needs a value. If the image is sprited via metadata, then the first parameter should be left null.
cssClass
{?string
}
opt_url
{string
=}
opt_width
{number
=}
opt_height
{number
=}
opt_xOffset
{number
=}
opt_yOffset
{number
=}
opt_animated
{boolean
=}
.getCssClass()
Returns the css class of the sprited image.
string
}
.getHeightCssValue()
Returns the height of the image being sprited, appropriate for a CSS value.
string
}
.getUrl()
Returns the url of the sprite image.
string
}
.getWidthCssValue()
Returns the width of the image being sprited, appropriate for a CSS value.
string
}
.getXOffsetCssValue()
Returns the x offset of the image being sprited within the sprite, appropriate for a CSS value.
string
}
.getYOffsetCssValue()
Returns the positive y offset of the image being sprited within the sprite, appropriate for a CSS value.
string
}
.isAnimated()
Returns whether the emoji specified by this sprite is animated.
boolean
}