public class LayoutParams extends AbstractModel
header, skipSign
Constructor and Description |
---|
LayoutParams() |
LayoutParams(LayoutParams 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 |
---|---|
Long |
getHeight()
Get Stream image height.
|
Long |
getWidth()
Get Stream image width.
|
Long |
getX()
Get Offset of the top point in the upper-left corner of the current image to the X axis of the top point in the upper-left corner of the canvas.
|
Long |
getY()
Get Offset of the top point in the upper-left corner of the current image to the Y axis of the top point in the upper-left corner of the canvas.
|
Long |
getZOrder()
Get Z-axis position of the image.
|
void |
setHeight(Long Height)
Set Stream image height.
|
void |
setWidth(Long Width)
Set Stream image width.
|
void |
setX(Long X)
Set Offset of the top point in the upper-left corner of the current image to the X axis of the top point in the upper-left corner of the canvas.
|
void |
setY(Long Y)
Set Offset of the top point in the upper-left corner of the current image to the Y axis of the top point in the upper-left corner of the canvas.
|
void |
setZOrder(Long ZOrder)
Set Z-axis position of the image.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public LayoutParams()
public LayoutParams(LayoutParams source)
public Long getWidth()
public void setWidth(Long Width)
Width
- Stream image width. Value range: [2,3000]public Long getHeight()
public void setHeight(Long Height)
Height
- Stream image height. Value range: [2,3000]public Long getX()
public void setX(Long X)
X
- Offset of the top point in the upper-left corner of the current image to the X axis of the top point in the upper-left corner of the canvas. Default value: 0. Value range: [0,3000].public Long getY()
public void setY(Long Y)
Y
- Offset of the top point in the upper-left corner of the current image to the Y axis of the top point in the upper-left corner of the canvas. Default value: 0. Value range: [0,3000].public Long getZOrder()
public void setZOrder(Long ZOrder)
ZOrder
- Z-axis position of the image. The default value is 0.
The Z axis determines the overlap sequence of images. The image with the largest z-axis value is at the top layer.Copyright © 2024. All rights reserved.