summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/Image.java
blob: b2f6cef3b0c176d321123657e46c230d6fbb53d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.mapbox.mapboxsdk.maps;

class Image {
  private final byte[] buffer;
  private final float pixelRatio;
  private final String name;
  private final int width;
  private final int height;

  public Image(byte[] buffer, float pixelRatio, String name, int width, int height) {
    this.buffer = buffer;
    this.pixelRatio = pixelRatio;
    this.name = name;
    this.width = width;
    this.height = height;
  }
}