public class SpriteImageInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
SpriteImageInfo() |
SpriteImageInfo(SpriteImageInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColor()
Get 背景颜色,格式:#RRGGBB,默认:#FFFFFF。
|
Long |
getColumnCount()
Get 表示雪碧图列数,默认:10。
|
Long |
getMarginBottom()
Get 最后一行元素与底部像素距离,默认:0。
|
Long |
getMarginLeft()
Get 最左一行元素与左边像素距离,默认:0。
|
Long |
getMarginRight()
Get 最右一行元素与右边像素距离,默认:0。
|
Long |
getMarginTop()
Get 第一行元素与顶部像素距离,默认:0。
|
Long |
getPaddingBottom()
Get 小图与元素底部像素距离,默认:0。
|
Long |
getPaddingLeft()
Get 小图与元素左边像素距离,默认:0。
|
Long |
getPaddingRight()
Get 小图与元素右边像素距离,默认:0。
|
Long |
getPaddingTop()
Get 小图与元素顶部像素距离,默认:0。
|
Long |
getRowCount()
Get 表示雪碧图行数,默认:10。
|
void |
setBackgroundColor(String BackgroundColor)
Set 背景颜色,格式:#RRGGBB,默认:#FFFFFF。
|
void |
setColumnCount(Long ColumnCount)
Set 表示雪碧图列数,默认:10。
|
void |
setMarginBottom(Long MarginBottom)
Set 最后一行元素与底部像素距离,默认:0。
|
void |
setMarginLeft(Long MarginLeft)
Set 最左一行元素与左边像素距离,默认:0。
|
void |
setMarginRight(Long MarginRight)
Set 最右一行元素与右边像素距离,默认:0。
|
void |
setMarginTop(Long MarginTop)
Set 第一行元素与顶部像素距离,默认:0。
|
void |
setPaddingBottom(Long PaddingBottom)
Set 小图与元素底部像素距离,默认:0。
|
void |
setPaddingLeft(Long PaddingLeft)
Set 小图与元素左边像素距离,默认:0。
|
void |
setPaddingRight(Long PaddingRight)
Set 小图与元素右边像素距离,默认:0。
|
void |
setPaddingTop(Long PaddingTop)
Set 小图与元素顶部像素距离,默认:0。
|
void |
setRowCount(Long RowCount)
Set 表示雪碧图行数,默认:10。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SpriteImageInfo()
public SpriteImageInfo(SpriteImageInfo source)
public Long getRowCount()
public void setRowCount(Long RowCount)
RowCount
- 表示雪碧图行数,默认:10。public Long getColumnCount()
public void setColumnCount(Long ColumnCount)
ColumnCount
- 表示雪碧图列数,默认:10。public Long getMarginTop()
public void setMarginTop(Long MarginTop)
MarginTop
- 第一行元素与顶部像素距离,默认:0。public Long getMarginBottom()
public void setMarginBottom(Long MarginBottom)
MarginBottom
- 最后一行元素与底部像素距离,默认:0。public Long getMarginLeft()
public void setMarginLeft(Long MarginLeft)
MarginLeft
- 最左一行元素与左边像素距离,默认:0。public Long getMarginRight()
public void setMarginRight(Long MarginRight)
MarginRight
- 最右一行元素与右边像素距离,默认:0。public Long getPaddingTop()
public void setPaddingTop(Long PaddingTop)
PaddingTop
- 小图与元素顶部像素距离,默认:0。public Long getPaddingBottom()
public void setPaddingBottom(Long PaddingBottom)
PaddingBottom
- 小图与元素底部像素距离,默认:0。public Long getPaddingLeft()
public void setPaddingLeft(Long PaddingLeft)
PaddingLeft
- 小图与元素左边像素距离,默认:0。public Long getPaddingRight()
public void setPaddingRight(Long PaddingRight)
PaddingRight
- 小图与元素右边像素距离,默认:0。public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor
- 背景颜色,格式:#RRGGBB,默认:#FFFFFF。Copyright © 2024. All rights reserved.