Class ImageSize
Package world.mappable.mapkit
java.lang.Object
↳ world.mappable.mapkit.Image.ImageSize
static class ImageSize implements Serializable
Summary
Constructors
|
Signature and Description |
|
ImageSize(@NonNull java.lang.String size, |
|
ImageSize() |
Methods
|
Type and modifiers |
Method and Description |
|
java.lang.String |
getSize() |
|
java.lang.Integer |
getWidth() |
|
java.lang.Integer |
getHeight() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
Constuctors
ImageSize
|
ImageSize(@NonNull java.lang.String size, |
ImageSize
|
ImageSize() |
Use constructor with parameters in your code.
This one is for bindings only!
Methods
getSize
|
@NonNull |
getWidth
|
@Nullable |
Optional field, can be null.
getHeight
|
@Nullable |
Optional field, can be null.
serialize
|
@Override |