public class ImageHeaderModel extends Object implements ImageHeader
Constructor and Description |
---|
ImageHeaderModel(int width,
int height,
ImageFormat format)
Create image header.
|
Modifier and Type | Method and Description |
---|---|
ImageFormat |
getFormat()
Get image format.
|
int |
getHeight()
Get image height.
|
int |
getWidth()
Get image width.
|
public ImageHeaderModel(int width, int height, ImageFormat format)
width
- The image width.height
- The image height.format
- The image format.public int getWidth()
ImageHeader
getWidth
in interface ImageHeader
public int getHeight()
ImageHeader
getHeight
in interface ImageHeader
public ImageFormat getFormat()
ImageHeader
getFormat
in interface ImageHeader
Copyright © 2017 Byron 3D Games Studio. All rights reserved.